add_post_meta without serializing the array?
-
I’m trying to use add_post_meta to submit a multidimensional array.
array( array ( "key1" => "value1", "key2" => "value2", "key3" => "value3" ) )
However, this serializes the array into a string, which I don’t want because I’m using this data with a plugin.
When I use update_post_meta with the same array, it works perfectly, however I’ll only be able to submit one set of values this way.
Is there any possible way to use add_post_meta without serializing the array?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_post_meta without serializing the array?’ is closed to new replies.