WP REST API Controller

Plugin Banner

WP REST API Controller

by Evan Herman

Download
Description

WP REST API Controller allows admins to toggle the visibility of, and customize the endpoints for, all core and custom post types and taxonomies within WordPress with an easy-to-use graphical interface. Additionally, you can tweak visibility and customize the meta data attached to the API response.

Note: This plugin requires WordPress Version 4.7 or later to work.

Features:

  • Enable/Disable REST API endpoints for post types and taxonomies.
  • Enable/Disable post type/taxonomy meta data (add or remove meta fields from API requests).
  • Rename post type/taxonomy base endpoints.
  • Rename post type/taxonomy meta data names in API requests so they are more user friendly.
  • Manipulate and control post types/taxonomies and their data created by third party plugins and themes.
  • Granular control of API responses without writing a single line of PHP code.
  • Filters included to alter and extend default functionality.
  • Localized and ready for translations.
  1. Download the plugin .zip file and make note of where on your computer you downloaded it to.
  2. In the WordPress admin (yourdomain.com/wp-admin) go to Plugins > Add New or click the “Add New” button on the main plugins screen.
  3. On the following screen, click the “Upload Plugin” button.
  4. Browse your computer to where you downloaded the plugin .zip file, select it and click the “Install Now” button.
  5. After the plugin has successfully installed, click “Activate Plugin” and enjoy!
  6. Find the WP REST API Controller Settings screen under the Tools menu in the WordPress Admin
  1. WP REST API Controller settings page.

    WP REST API Controller settings page.

Can I toggle the visibility of endpoints?

Yes! You can quickly and easily toggle the endpoints, so they are either accessible or inaccessible to API requests. Using our interface you can enable the post types you need, while disabling the ones you don’t.

Can I alter the default REST endpoints using this plugin?

Yes, you can alter all core public post types and taxonomies using this plugin. You can enable/disable all public post types and taxonomies on your site, and enable/disable/customize their meta data using this plugin.

Can I alter REST endpoints for post types from other plugins or my theme?

Yes! Our plugin simply filters the rest_base parameter for the custom post type, so you can setup or alter REST endpoints for every custom post type on your site!

Are all post types customizable using this plugin?

Our plugin allows you to customize all of the post types within WordPress.

Can I customize the meta data assigned to post types?

Yes! Users can enable or disable custom meta data assigned to each post type. You can also change the name of the property for each meta data in the API request. If you assign custom meta fields to your posts using Advanced Custom Fields, CMB2 or add_meta_box() you can adjust the visibility, and customize the name, of the property in API requests.

Is this plugin compatible with the Core WordPress 4.7 REST API?

Yes! Version 1.3 of this plugin is compatible with WordPress 4.7.

Note: All properties in the API request are populated using get_post_meta() or get_term_meta(). If you need to filter a meta value, you can use the wp_rest_api_controller_api_property_value filter provided by this plugin.

taxonomies not saving

By meirk on June 14, 2021

taxonomies not saving - no response from support

It is not removed from the plugin.

By elec1123 on April 28, 2019

It is not removed from the plugin.

Just great

By (stepes) on January 22, 2018

This thing saved me a lot of time trying to expose Woocommerce product price directly in WordPress API, awesome!

awesome plugin!!!!!

By antimine on September 11, 2017

This is the best of best!!! thank you very much!!!!

Thanks! Awesome plugin!!!

By linkerx on August 22, 2017

you made my day!!!! thanks!!!

Works great!

By thadknull on July 17, 2017

I was able to use this on a project with a newspaper using WordPress. Very handy -- the one issue we did notice was that you cannot have a meta variable that has a "custom meta key" name of "id" because when it conflicts with the WordPress post ID in the JSON object: it makes all the custom fields appear empty. All we had to do was change that setting for the "id" field in the plugin's admin panel and all was well.

Really awesome!!

By basememara on July 11, 2017

Thank you for creating this, a GUI to managing the REST API is exactly what WP needs! One thing though, any idea why my custom fields are "null" in the web service even though there are values in the backend? I'm using WP-Types if that makes a difference.

THIS made my day 😀

By snoopje on April 5, 2017

As a non PHP programmer, using WP via it's WP REST API as a CMS for my apps, I was happy to detect this plugin : it's exactly what I needed to get access to custom posts.! Great , easy instal, handy GUI ! THX guys

I wish I could give you 10 stars

By Stephen S (ssuess) on February 23, 2017

This plugin is amazing, taking a complicated thing and making it easy to accomplish. Thanks!!

Great and easy to use plugin

By samy234 on January 31, 2017

I was able to make minimum extension to the plugin code to enable the retrieval of protected fields through the rest api. https://wordpress.org/support/topic/possible-to-retrieve-protected-meta-fields/
  • Fixed the REST API endpoint when the rest_base value is empty when a post type is registered.
Back to top