该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP API Customizer

描述

Due to security/privacy concerns, JSON REST API (WP API) only allows post meta data (custom field value) for authenticated users.
This plugin is an easy way to make post meta available when unauthenticated.

After activate the plugin, go to WP API Customizer option page.
Click the plus icon to add rows.
Set JSON attributes and custom field names in your posts that you want to use when unauthenticated.
The JSON REST API will provide the data as “post_meta” like the following:

"post_meta":{"your_attribute_a":"Custom Field A value","your_attribute_b":"Custom Field B value"}

安装

  1. Upload the wp-api-customizer folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to WP API Customizer option page.
  4. Set JSON attributes and custom field names.

评价

此插件暂无评价。

贡献者及开发者

「WP API Customizer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.0.2

  • Fix a bug that WP API Customizer options are deleted unexpectedly
  • Solve conflicts with some plugins
  • Delete the data in the database when uninstalling WP API Customizer

0.0.1

  • Initial Release.