I am current storing all of my theme options individually using the update_option(name, value); function, but I am thinking of putting them all into an array, serializing it, and storing a single option in the database.
Is this more efficient?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, if you do a little of processing (read: unserialize) after having readed the configuration from DB!
Depending on the number of options you’ll save query to the DB.