REST API Custom Fields Plugin
This plugin enhances Wordpress REST API v2 responses about metadata
This plugin enhances WordPress REST API v2 responses about metadata.
Installation
- 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.
Screenshots
Settings pane
Changelog
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