Answer the question
In order to leave comments, you need to log in
How to decode an array of options in WP?
Hello.
Bottom line: in WP, options and settings are stored in an incomprehensible format like s:15:"auto_adjust_ids";i:1;s:11:"alert_delay";
Of course, it is extremely difficult to parse this manually. Is there any function that allows you to decrypt such a format?
Thank you.
Answer the question
In order to leave comments, you need to log in
)))) all developers have gone though
This is the result of serialize(). To turn a serialized string back into a PHP value, use the unserialize() function.
Read carefully here php.net/manual/en/function.serialize.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question