admin ajaxurl form front end

<script type="text/javascript">
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
</script>

Leave comment

Your email address will not be published. Required fields are marked with *.