Last active
February 26, 2022 08:26
-
-
Save MrVibe/3c7f32b039ce6bec1a7e8deea59cec1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('wp_footer',function(){ | |
?> | |
<script>var ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>'; </script> | |
<?php | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment