<p>I&#39;m actually using the settings api to store the theme&#39;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, &quot;Otto&quot; &lt;<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>&gt; wrote:<br type="attribution">&gt; On Wed, Jan 19, 2011 at 11:40 AM, Syahir Hakim &lt;<a href="mailto:khairulsyahir@gmail.com">khairulsyahir@gmail.com</a>&gt; wrote:<br>
&gt;&gt; And since we&#39;re on this topic, how would you guys suggest the best way to<br>&gt;&gt; implement an option to delete the theme&#39;s options from the database?<br>&gt; <br>&gt; If you&#39;re using the theme mod system, then a simple call to<br>
&gt; remove_theme_mods() will remove your theme&#39;s options.<br>&gt; <br>&gt; <a href="http://codex.wordpress.org/Function_Reference/set_theme_mod">http://codex.wordpress.org/Function_Reference/set_theme_mod</a><br>&gt; <a href="http://codex.wordpress.org/Function_Reference/remove_theme_mod">http://codex.wordpress.org/Function_Reference/remove_theme_mod</a><br>
&gt; <a href="http://codex.wordpress.org/Function_Reference/remove_theme_mods">http://codex.wordpress.org/Function_Reference/remove_theme_mods</a><br>&gt; <br>&gt; -Otto<br>&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div>