Linux 软件免费装
Banner图

开发者 yikesinc
eherman24
liljimmi
yikesitskevin
jpowersdev
更新时间 2022年9月7日 06:35
PHP版本: WordPress 4.7 及以上
WordPress版本: 6.0
版权: GPLv3 or later
版权网址: 版权信息

标签

meta toggle api rest data endpoint endpoints yikes REST API controller meta_data rest_base rest_name inc

下载

1.3 1.1.0 1.2.0 1.2.1 2.0.4 2.1.0 2.1.1 1.0.0 1.4.1 2.0.1 2.0.2 2.0.5 2.0.6 2.0.0 2.0.3 2.0.7 1.4.0

详情介绍:

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:

安装:

  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

屏幕截图:

  • 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.

更新日志: