WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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 want to know all the classes and functions(individual .php files) in a wordpress installation that handle serialization and unserialization.

share|improve this question
up vote 1 down vote accepted

WordPress uses maybe_serialize() and maybe_unserialize(). Both of them use PHP's native serialize() and unserialize() functions. See:



Both of those functions make use of the function is_serialized(), which checks if the variable is serialized yet. See:


share|improve this answer

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.