Support › MB REST API › metabox infoResolved
I'm creating some custom endpoints with register_rest_route for a custom post type.
I would like to add all the metabox fields to each post in that endpoint.
is it possible? What would be the best approach? and, would it be possible if I am working with metabox custom table?
I searched a bit around but did not find a mention to this.
This is similar to what we've done in the MB REST API plugin. Please take a look at the plugin code to see how it's done.
Thanks, I tried it this morning, and I have almost done.
The code in the plugin is very clear, thanks!!