Skip to main content

All Questions

Tagged with
0 votes
1 answer
1k views

WordPress admin-ajax.php throwing 400 bad request

add_action( 'wp_footer', function () { ?> <script type='text/javascript' id='ajax'> const ajaxUrl = "<?php echo admin_url('admin-ajax.php'); ?>"; async function ...
Ramanath's user avatar
  • 530