Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Amelie Houle

Display the value unserialized

I was wondering if you had a solution to display the values “unserialized”
​​for which is displayed without the data code characters like this a:2:{i:0;s:8:”Plongeon”;i:1;s:4:”Yoga”;}

Many thanks !

1 year, 3 months ago
Stefan van den Dungen Gronovius

When you’re using the Custom Field column, you can set the field type set to ‘Multiple Values/Serialized’ and the display of the item is a bit more presentable. It is possible to specify a specific key that is present in the serialized data to just show a single item. If you have a more complex data structure, you could consider altering the value yourself with the following hook.

1 year, 2 months ago

You must be logged in to reply to this topic.