[theme-reviewers] Theme-Check plugin and textdomain
Otto
otto at ottodestruct.com
Wed Jan 19 18:15:42 UTC 2011
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
More information about the theme-reviewers
mailing list