All Questions
Tagged with admin-ajax fetch
1
question
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 ...