Create Custom Rest Endpoints for WP Rest API

Posted on May 4, 2021 at 9:18 am

I found a very nice WordPress plugin that can be used to add custom rest endpoints for WP Rest API without touching the PHP code! You can complex custom routes easily, for example you can create a GET route to retrieve all posts (title, permalink, ID, etc) in your WordPress blog; or create a POST route to create new posts by specifying post title, permalink, content, etc. Very useful if you use a WordPress Headless, if you want to provide an API to get data from your WordPress website or if you want to manage your WordPress site remotely.

https://restroutes.com/

https://wordpress.org/plugins/rest-routes/

Receive updates via email

Other Posts

Updated Posts