WP doesn’t show Array Custom Fields?

There is no filter to change that behavior, you would have to replace the entire metabox.

On the other hand: I think there is no really simple way to show and to save those arrays.

Example for a fictive meta key 'foo':

array (
    0 => 2,
    'hello' => array (
        0 => 2,
        'hello' => 'world'
    )
)

Creating a default interface for such an array would be very hard. This metabox is for simple fields, it should be easy to use. And you cannot just present the serialized string: editing that would probably break it. So I think it is a compromise. Better than nothing, but not perfect.

Leave a Comment