Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing custom content types meta data to REST API #719

Open
mrawers opened this issue Dec 4, 2019 · 0 comments
Open

Exposing custom content types meta data to REST API #719

mrawers opened this issue Dec 4, 2019 · 0 comments

Comments

@mrawers
Copy link

mrawers commented Dec 4, 2019

Is it possible to add the metadata from the custom content types to the WordPress REST API?
I am testing with a plugin that adds a few different custom content types and each content type has a metabox.php i.e. team.php and team-metabox.php. I was able to add the 'show_in_rest' => true, to the main content type but the metaboxes which use a function named: ot_register_meta_box is not paying attention to the show_in_rest attribute. Is what I am requesting possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant