WordPress Ajax responses are things that I’ve written about several times in the past (and it’s because I do a lot of work with Ajax in WordPress and because I often see other code that uses it in a variety of ways).

Implementing a call to the server from the client-side.
Of course, I’m not trying to set a definitive way to using WordPress, Ajax, JSON, and so on; otherwise, I wouldn’t spend my time writing posts about it, but there are things that I think are important to cover if for no other reason than to serve as reminders both to myself and those reading.
In the last year, I’ve written:
- Ajax in WordPress: A Strategy For Error Codes
- Writing a Custom Protocol for Ajax Responses
- An Example of the Ajax API
And sure, some of the above posts are a bit out of date. All the more reason to write updated content, right?
Since I recently finished a series on implementing custom protocols, I thought it important to also remember that there are already ways to send WordPress Ajax responses if you’re looking for something a bit simpler.
Continue reading