<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Activate Theme Action</title>
	<atom:link href="http://foolswisdom.com/wp-activate-theme-actio/feed/" rel="self" type="application/rss+xml" />
	<link>http://foolswisdom.com/wp-activate-theme-actio/</link>
	<description>A fool and his blog are soon parted.</description>
	<lastBuildDate>Sun, 18 Dec 2011 21:05:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Naveen</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-278545</link>
		<dc:creator>Naveen</dc:creator>
		<pubDate>Wed, 17 Nov 2010 11:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-278545</guid>
		<description>Can you show us some example?</description>
		<content:encoded><![CDATA[<p>Can you show us some example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-269483</link>
		<dc:creator>Lloyd</dc:creator>
		<pubDate>Thu, 08 Jul 2010 22:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-269483</guid>
		<description>As DD32 suggests above, the problem with &lt;code&gt; switch_themes&lt;/code&gt; is that it only fires on theme deactivate, not activate.</description>
		<content:encoded><![CDATA[<p>As DD32 suggests above, the problem with <code> switch_themes</code> is that it only fires on theme deactivate, not activate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-269472</link>
		<dc:creator>Lloyd</dc:creator>
		<pubDate>Thu, 08 Jul 2010 20:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-269472</guid>
		<description>Thanks JJJ. No need currently. I&#039;ll keep my eyes open for this style.</description>
		<content:encoded><![CDATA[<p>Thanks JJJ. No need currently. I&#8217;ll keep my eyes open for this style.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donncha O Caoimh</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-269454</link>
		<dc:creator>Donncha O Caoimh</dc:creator>
		<pubDate>Thu, 08 Jul 2010 17:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-269454</guid>
		<description>What about the switch_themes action? There&#039;s no action when widgets are updated either and I&#039;m thinking of checking for the update POSTs to the widgets page for wp-super-cache.</description>
		<content:encoded><![CDATA[<p>What about the switch_themes action? There&#8217;s no action when widgets are updated either and I&#8217;m thinking of checking for the update POSTs to the widgets page for wp-super-cache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Hulse</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-269418</link>
		<dc:creator>Dion Hulse</dc:creator>
		<pubDate>Thu, 08 Jul 2010 08:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-269418</guid>
		<description>You can also get a deactivation hook by catching the user switching the theme, For example, i used this in some code a long time ago:

&lt;code&gt;
add_action(&#039;switch_theme&#039;, &#039;theme_deactivate&#039;);
function theme_deactivate(){
	delete_option(&#039;my_options_that_dont_matter&#039;);
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>You can also get a deactivation hook by catching the user switching the theme, For example, i used this in some code a long time ago:</p>
<p><code><br />
add_action('switch_theme', 'theme_deactivate');<br />
function theme_deactivate(){<br />
	delete_option('my_options_that_dont_matter');<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John James Jacoby</title>
		<link>http://foolswisdom.com/wp-activate-theme-actio/comment-page-1/#comment-269416</link>
		<dc:creator>John James Jacoby</dc:creator>
		<pubDate>Thu, 08 Jul 2010 07:23:29 +0000</pubDate>
		<guid isPermaLink="false">http://foolswisdom.com/?p=2731#comment-269416</guid>
		<description>BuddyPress is a great example of something similar to this. If you needed me to I could whip up a more simple example for you quick.</description>
		<content:encoded><![CDATA[<p>BuddyPress is a great example of something similar to this. If you needed me to I could whip up a more simple example for you quick.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

