Since WordPress 4.7 the REST API is a thing on WordPress. After it got fully integrated into WordPress core, developers got one more powerful tool for building their sites.
That opened a big door of opportunities in the WordPress ecosystem. One of them was the WordPress Headless term, which in short is basically an option to use only the backend of the WordPress for administrating the site data (post, terms, users, etc) and serve this data through REST endpoints. Those endpoints can then be consumed by any kind of frontend application (React web site, mobile apps, etc), as long as it works with REST.
WordPress by default exposes a number of default endpoints for some basic operations. However, understanding the power of the feature, it also provided a powerful API for building your own custom endpoints for any kind of purpose.
Building those custom endpoints requires some coding knowledge, though. That’s where Rest Routes comes in! The main idea of Rest Routes is to provide a very friendly interface in the WordPress admin for letting you build complex custom endpoints for your site.
Take a look below on this short video and see Rest Routes Pro in action:
We are going to create a few custom endpoints that can help your Real Estate site to expose the properties, agents, and amenities that can be easily consumed by any type of client, it can be a React web site or maybe an Android app, it really doesn’t matter what the sky is the limit! (as long as the client can work with REST, of course)
Save and that’s it! Your custom endpoint is now available and ready to be consumed!
How to display Toolset custom fields with Rest Routes In this post we will learn a bit about the compatibility work that we’ve done recently
How to create custom endpoints for ACF Pro custom fields In this post we will learn a bit about the compatibility work that we’ve done
How to create custom endpoints for custom tables on WordPress In this post we are going to show you how easy is to create custom
How to create custom endpoints for WordPress REST API without code In this post you will learn how to build a few types of custom