<p>I'm actually using the settings api to store the theme's settings as a single array in the db.</p>
<p>--<br>
Regards,<br>
Syahir Hakim</p>
<p>Contact:<br>
<a href="http://www.khairul-syahir.com">http://www.khairul-syahir.com</a><br>
+64210333649</p>
<div class="gmail_quote">On 20/01/2011 2:16 AM, "Otto" <<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>> wrote:<br type="attribution">> On Wed, Jan 19, 2011 at 11:40 AM, Syahir Hakim <<a href="mailto:khairulsyahir@gmail.com">khairulsyahir@gmail.com</a>> wrote:<br>
>> And since we're on this topic, how would you guys suggest the best way to<br>>> implement an option to delete the theme's options from the database?<br>> <br>> If you're using the theme mod system, then a simple call to<br>
> remove_theme_mods() will remove your theme's options.<br>> <br>> <a href="http://codex.wordpress.org/Function_Reference/set_theme_mod">http://codex.wordpress.org/Function_Reference/set_theme_mod</a><br>> <a href="http://codex.wordpress.org/Function_Reference/remove_theme_mod">http://codex.wordpress.org/Function_Reference/remove_theme_mod</a><br>
> <a href="http://codex.wordpress.org/Function_Reference/remove_theme_mods">http://codex.wordpress.org/Function_Reference/remove_theme_mods</a><br>> <br>> -Otto<br>> _______________________________________________<br>
> theme-reviewers mailing list<br>> <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div>