- This topic has 4 replies, 2 voices, and was last updated 1 year, 9 months ago by .
I have a field that is for display purposes only… i have posts getting imported into wordpress automatically and applying meta values like this on import:
add_post_meta($wpid, ‘gnl_galleries_album_images’, $image_list);
$image_list being a php array.
On import its being stored in the database like this:
Now I have a Metabox.io Text box that is read only on the post that just displays that JSON data for reference.
If i edit the post and hit save, the record in the meta table changes to something like this:
How do i have the Metabox.io maintain the original format and not change the JSON structure?
- You must be logged in to reply to this topic.