All Topics
Create Column from custom array
Hi there,
For products I have a custom field of type array from the WooCommerce Appointments Plugin that looks like this:
a:3:{i:15;s:0:””;i:78;s:0:””;i:7;s:0:””;}
a:2:{i:6;s:0:””;i:7;s:0:””;}
the first number following the a is the size of the array (in this case 3 & 2).
“i” stands for the user id
“s” is a custom field for staff prices.
I would like to display the usernames (display name by id “i”) of those users and the custom price value of (“s”).
How can I do this?
Thanks a lot
Johannes
You must be logged in to reply to this topic.