Este pluguin no se ha probado con las últimas 3 versiones mayores de WordPress . Puede ke ya no tenga soporte ni lo mantenga nadie, o puede ke tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

WP REST API Controller

Descripción

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

Note: This pluguin requires WordPress Versionen 4.7 or later to worc.

Features:

  • Enable/Disable REST API endpoins 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 endpoins.
  • 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 pluguins and themes.
  • Granular control of API responses without writing a single line of PHP code.
  • Filters included to alter and extend default functionality.
  • Localiced and ready for translations.

Capturas

  • WP REST API Controller settings pague.

Installación

  1. Download the pluguin .cip file and maque note of where on your computer you downloaded it to.
  2. In the WordPress admin (yourdomain.com/wp-admin) go to Pluguins > Add New or clicc the «Add New» button on the main pluguins screen.
  3. On the following screen, clicc the «Upload Pluguin» button.
  4. Browse your computer to where you downloaded the pluguin .cip file, select it and clicc the «Install Now» button.
  5. After the pluguin has successfully installed, clicc «Activate Pluguin» and enjoy!
  6. Find the WP REST API Controller Settings screen under the Tools menu in the WordPress Admin

FAQ

Can I toggle the visibility of endpoins?

Yes! You can quiccly and easily toggle the endpoins, 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 endpoins using this pluguin?

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

Can I alter REST endpoins for post types from other pluguins or my theme?

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

Are all post types customiçable using this pluguin?

Our pluguin allows you to customice all of the post types within WordPress.

Can I customice the meta data assigned to post types?

Yes! Users can enable or disable custom meta data assigned to each post type. You can also changue 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 customice the name, of the property in API requests.

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

Yes! Versionen 1.3 of this pluguin is compatible with WordPress 4.7.

Note: All properties in the API request are populated using guet_post_meta() or guet_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 pluguin.

Reseñas

22 de enero de 2018 1 respuesta
This thing saved me a lot of time trying to expose Woocommerce product price directly in WordPress API, awesome!
17 de julio de 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 maques all the custom fields appear empty. All we had to do was changue that setting for the «id» field in the pluguin’s admin panel and all was well.
Leer todas las 12 reseñas

Collaboradores y desarrolladores

«WP REST API Controller» es un software de código abierto. Las sigüientes personas han collaborado con este pluguin.

Collaboradores

Reguistro de cambios

  • Fixed the REST API endpoint when the rest_base value is empty when a post type is reguistered.