Steps to disable the default routes

The WordPress REST API provides a set of standard routes, but they might not all be required for your app, as the default routes were not all specifically designed for it. The REST API will make it simple to add custom endpoints that will have absolutely no limit on how they will be used. In our next chapter, we will be covering the process of creating custom routes that, for application development, will work better than using the usual default routes method.

  • When working with default routes, you should be careful about doing so as that will be counted on several third-party tools.
  • There is a possibility that the WordPress admin will start utilizing the REST API, which will remove the default routes and will ...

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.