• I’d like to read the documentation on the structure that looks like a:0:{…}, but without knowing what it is called that’s difficult. Could someone please enlighten me? A link to the documentation would be even better.

    Thanks,
    David

Viewing 1 replies (of 1 total)
  • It’s a serialized Array. It’s how WordPress (and other PHP applications) store Arrays in the database. You can convert it to an array with the unserialize function. Note however that WordPress will handle the serialization and unserialization for you when you use functions like add_option(), get_option(), add_post_meta(), get_post_meta(), get_theme_mod(), etc. on an array.

Viewing 1 replies (of 1 total)
  • The topic ‘What is the thing “a:0:{…}” called?’ is closed to new replies.