
WP API Customizer
v0.0.2Kite · 2014年9月19日 上架
Make post meta data (custom field values) available for JSON REST API (WP API) when unauthenticated.
- 正在使用
- 20+
- 评分
- 5.0 / 5
- 累计下载
- 3,841
- 最近更新
- 2015年1月17日
1 条评价需要 WordPress 4.0+已测试到 4.1.42
贡献者
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"}