Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

wordpress echo admin ajax url

<script type="text/javascript">
    var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wordpress #echo #admin #ajax #url
ADD COMMENT
Topic
Name
9+8 =