Chapter 5.  Custom Routes in WordPress REST API

WordPress REST API, being treated as a consistent API, is mainly concerns the process of querying the default routes. One similar example that could be brought up is the Twitter API. It is important to set that WordPress REST API is made of a bunch of highly customizable APIs that could further be used as tools for creating a more extensive list of APIs.

Another key point to be mentioned in this regard is the fact that REST API is nothing like the core API, just as WordPress isn't all about the global WP_Query object. It is important to understand that we will go beyond the basics with our REST API project. While usual and more or less primitive projects may be successfully fulfilled without much ...

Get Learning WordPress REST API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.