WP-API / docs

The content for developer.wordpress.org/rest-api
https://developer.wordpress.org/rest-api
110 stars 621 forks source link

Improve metadata documentation #51

Closed TimothyBJacobs closed 5 years ago

TimothyBJacobs commented 5 years ago

We should mention that you can now use register_post_meta and that custom post types need to have custom-fields support enabled.

Related Trac ticket: https://core.trac.wordpress.org/ticket/40408

https://github.com/WP-API/docs/blob/master/extending-the-rest-api/modifying-responses.md#working-with-registered-meta-in-the-rest-api