A WordPress plugin that adds post and user meta data to the WP API endpoints. Supports getting and setting post and user meta.
Requires WP API Version 2.0 Beta 12 or higher.
A meta
field will be added to the response data containing an array of all post meta data.
Add a meta
object to the POST
data of your request containing key / value pairs of the meta data you want to update or add. Response will contain the new meta data.
A meta
field will be added to the response data containing an array of all user meta data.
Add a meta
object to the POST
data of your request containing key / value pairs of the meta data you want to update or add. Response will contain the new meta data.
To delete a meta key entirely, send the key / value pair with a null
value and that key will be deleted.