I’m wondering why WordPress doesn’t list PHP array()
and any serialized data in Custom Fields in Admin Panel (for Pages, Posts etc.)? Only Custom Fields containing strings and numbers show up and can be edited by user manually.
Edit: Why aren’t post meta values displayed if they are stored as a non-string value, meaning, stored as either arrays or a serialized value ?
Example: If a post has a meta key ‘custom-meta’ with a string value as ‘yes’, it is displayed in the meta box, but if it has an array value like array('value' => 'yes')
, it is not displayed in the meta box.
Can I enable this?