
How to Debug WordPress AJAX Requests (admin-ajax.php Troubleshooting)
Read the status code and body from admin-ajax.php together: 400 with 0, 403 with -1 or a 500 each point to a different fix. Tested on WordPress 7.1.4.
Debugging & Profiling14 min read