Support

Search results for ""

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

Display the value unserialized

Hello,
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”;}
screen

Many thanks !

11 months, 1 week ago
Stefan van den Dungen Gronovius
Developer

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.

https://github.com/codepress/admin-columns-hooks/blob/master/ac-column-value.php

11 months, 1 week ago

You must be logged in to reply to this topic.