Skip to content

WP REST API Controller allows you to control exposure of post types to the WP REST API using an admin interface. *Note:* WordPress 4.7 or later

License

Notifications You must be signed in to change notification settings

EvanHerman/wp-rest-api-controller

Repository files navigation

WP REST API Controller

Control post type and associated meta data exposure to the REST API. Say goodbye to manually enabling/disabling rest API endpoints via code, now you can use our dashboard interface to control exposure of your post types/taxonomies to the WP REST API.

WordPress Versions PHP Versions

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.

This plugin has reached maturity and has been released to the WordPress.org repository. Enjoy!

Contributing

All pull requests welcome!

WP REST API Controller Settings:

WP REST API Controller Settings Page

Important: As of December 6th, 2016 this plugin requires WordPress version 4.7, which has the WP REST API built into core. Prior versions of WordPress will no longer work with WP Rest API Controller version 1.3 or later. Please update your sites version of WordPress to 4.7 or later.

Filters
  • wp_rest_api_controller_rest_base
  • wp_rest_api_controller_post_types
  • wp_rest_api_controller_api_property_value
  • wp_rest_api_controller_always_enabled_post_types
  • wp_rest_api_controller_excluded_taxonomy_slugs
  • wp_rest_api_controller_taxonomies

Originally built with by YIKES Inc. in Philadelphia, PA.
Now Maintained by Evan Herman in Lancaster, PA.

About

WP REST API Controller allows you to control exposure of post types to the WP REST API using an admin interface. *Note:* WordPress 4.7 or later

Topics

Resources

License

Stars

Watchers

Forks