WP REST return value to error function from Request
An Ajax call can be sent to anywhere. It can be a server running a PHP, a virtual local route that is simulated using C#, or anything else. So, Ajax does not care what the response is, since it can’t understand it. When you are sending any data back from your server, as long as … Read more