admin-ajax.php in frontend
-
<script type="text/javascript"> var ajaxurl = 'https://WEBSITE.TLD/wp-admin/admin-ajax.php'; </script>
Why do you use this code in the front end of the website ? This is in a incognito browser window and not logged in. Strange that you need a file from the admin backend.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘admin-ajax.php in frontend’ is closed to new replies.