Two same AJAX calls – one is working, other doesn’t
They’re not the same though. Look at the form data on each one. The second one, the one that doesn’t work, has _test appended to the parameter names and the action value. The reason you’re getting a 400 error is because you’re not sending a valid action. The action parameter is how WordPress determines which … Read more