You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, setting show_in_rest as true does not actually add the field to the REST API, it simply makes the field available for registration. You still need to register_rest_field to add a custom field to a post type endpoint.
Let's continue the conversation from oskarrough/ember-wordpress#23 in this issue.
Here is some recommended reading to further this conversation http://v2.wp-api.org/extending/modifying/ and https://make.wordpress.org/core/2016/05/03/a-data-schema-for-meta/
The text was updated successfully, but these errors were encountered: