Support Forum
I am using Metabox.io, and I have a certain Custom Post Types. Right now I am using a Destination CPT, which has a field type -> post. Now I am rendering the other CPT through that. Everything works fine, except the REST API response. It only shows the CPT ID attached to the Destination CPT.
I want to show the Object Data in the Destination CPT of another post type which is embedded in it.
JSON OUTPUT
"meta_box": {
"prefix-destination-story-field": ["535"],
"prefix-destination-gallery-field": ["269"],
"prefix-destination-video-gallery-field": ["280"],
"prefix-destination-trip-field": [ "236" ]
}
This is the link for Field Type Post: Metabox Post Type Field
I need to know how should be able to populate an object inside the array of metabox-id?
Any help would be appreciated. Let me know if I can produce any thing else to give you a clear insight of what I am asking for.