I am having problems trying to decipher the metadata information.

What does all the a: , s: stuff mean?

is there a place where i can reference what all this coding means in wp?

not just for attachment metadata, but users, etc.



What you're referring to is serialized data. To save an array to MySQL the data is serialized upon submission, so the best way to read that data is to pull it out of the database with a function that unserializes it, which WordPress does for you. More details

So somewhere in a theme or plugin you could just use get_user_meta() to print the array of data for any given user.

  • 1
    thanks for that reference, it wasn't exactly what I was looking for, but it did click something for me...a is array, s is string the ":n" after the a or s is some sort of reference number for an attribute that depends upon the context. The ':"text"' is the value. - I went to edit but timed out - sorry for any repeat. – cjtech Apr 6 '12 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.