REST API Custom Fields
开发者 |
integromat
|
更新时间 |
2020年8月14日 20:55 |
PHP版本: |
5.6 及以上 |
WordPress版本: |
5.5 |
版权: |
GPLv2 or later |
详情介绍:
This plugin enhances Wordpress REST API v2 responses about metadata.
安装:
- Upload "rest-api-custom-fields" folder to the "/wp-content/plugins/" directory.
- Activate the plugin through the "Plugins" menu in WordPress.
- New item "REST API Custom Fields" appears in the admin menu (under the Settings menu). There you can select which metadata you want to contain in the REST API response.
屏幕截图:
更新日志:
1.3
- It is now possible to expose custom fields of custom post types
1.2
- Exposed values can now contain arrays
- Attributes representing custom fields moved directly under the top-level node in the response
1.1
1.0