How to serialize options using settings api?
-
I have read in multiple places (unreliable sources? π that the settings api automatically handles serializing the options. Specifically when using the register_setting() and settings_fields() to allow WordPress to manage updating/saving the settings to the database.
However, the settings are clearly not being serialized automatically. Am I missing something or does the settings API simply save the options as individual records only?
I would love to continue using the settings_fields() method for the project(s) I am working on but would also much prefer to serialize all the settings for at least each option group. Thanks for any tips.
The topic ‘How to serialize options using settings api?’ is closed to new replies.