WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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