[theme-reviewers] Theme-Check plugin and textdomain
Muhammad Khairul Syahir Abdul Hakim
khairulsyahir at gmail.com
Wed Jan 19 18:30:51 UTC 2011
I'm actually using the settings api to store the theme's settings as a
single array in the db.
--
Regards,
Syahir Hakim
Contact:
http://www.khairul-syahir.com
+64210333649
On 20/01/2011 2:16 AM, "Otto" <otto at ottodestruct.com> wrote:
> On Wed, Jan 19, 2011 at 11:40 AM, Syahir Hakim <khairulsyahir at gmail.com>
wrote:
>> And since we're on this topic, how would you guys suggest the best way to
>> implement an option to delete the theme's options from the database?
>
> If you're using the theme mod system, then a simple call to
> remove_theme_mods() will remove your theme's options.
>
> http://codex.wordpress.org/Function_Reference/set_theme_mod
> http://codex.wordpress.org/Function_Reference/remove_theme_mod
> http://codex.wordpress.org/Function_Reference/remove_theme_mods
>
> -Otto
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110120/776d9086/attachment.htm>
More information about the theme-reviewers
mailing list