[theme-reviewers] wp-themes: SWIFT - 5.27

SATISH GANDHAM satish_g2009 at yahoo.co.in
Thu Jun 10 14:15:18 UTC 2010

All my theme options are stored in two arrays, 
swift_opt and swift_design_opt

I'm providing an option to import and export the theme options( two arrays) as a text string (serialized data).

The form input is unserialized to get the array back, and then imported.(swiftImportExport() function in swift/admin/admin-core.php)

Satish Gandham

--- On Thu, 10/6/10, theme-reviewers at lists.wordpress.org <theme-reviewers at lists.wordpress.org> wrote:

From: theme-reviewers at lists.wordpress.org <theme-reviewers at lists.wordpress.org>
Subject: wp-themes: SWIFT - 5.27
To: satish_g2009 at yahoo.co.in
Cc: theme-reviewers at lists.wordpress.org
Date: Thursday, 10 June, 2010, 4:26 AM

The WordPress option functions take care of serializing and de-serializing the PHP data, so you don't need to worry about wrapping get_option() with serialize().

Joseph Scott

WordPress Theme Directory
theme-reviewers at lists.wordpress.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/mailman/private/theme-reviewers/attachments/20100610/cec57138/attachment.htm>

More information about the theme-reviewers mailing list