Saving a meta value as an object using useEntityProp
And yet, the post meta is stored in the database as a serialized array! This is because all meta values are strings, that’s what the database table schema says. So if you try to pass structured data into it, WordPress tries to be helpful and uses serialize to turn it into a string, then deserialises … Read more