<?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: An Introduction to WordPress Action Hooks</title>
	<atom:link href="http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/</link>
	<description>WordPress Themes, Web Design, and Blogs</description>
	<lastBuildDate>Wed, 21 Apr 2010 13:16:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Scheduling and Monitoring WordPress Action Hooks &#124; Online Blogger</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2843</link>
		<dc:creator>Scheduling and Monitoring WordPress Action Hooks &#124; Online Blogger</dc:creator>
		<pubDate>Tue, 26 Jan 2010 13:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2843</guid>
		<description>[...] by Nathan Rice [...]</description>
		<content:encoded><![CDATA[<p>[...] by Nathan Rice [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Understanding Action Hooks In Wordpress &#171; WordPress Theme Mods</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2839</link>
		<dc:creator>Understanding Action Hooks In Wordpress &#171; WordPress Theme Mods</dc:creator>
		<pubDate>Wed, 13 Jan 2010 15:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2839</guid>
		<description>[...] http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/" rel="nofollow">http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hikari</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2838</link>
		<dc:creator>Hikari</dc:creator>
		<pubDate>Sat, 26 Dec 2009 22:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2838</guid>
		<description>Another good advantage of using hooks is that you can replace original code with yours.

In that way, when you are developing some code, you store it in a function and just below hooks this function with &lt;code&gt;add_action&lt;/code&gt; and just after you call &lt;code&gt;do_action&lt;/code&gt;.

A better description for &lt;code&gt;do_action&lt;/code&gt; is that it calls all functions that are hooked to it, as if it was a list of functions calls. Doing as I said, your function will be called as if you had called it there.

But the difference of calling a function and using an action hook, aside from the action allowing to call a bunch of functions at once and letting other ppl to call their functions inside your code, is that other ppl can use the &lt;strong&gt;&lt;code&gt;remove_action&lt;/code&gt;&lt;/strong&gt; function to &lt;strong&gt;remove&lt;/strong&gt; your original function from being called.  And after it, they can develop their own function and add it there, &lt;strong&gt;replacing&lt;/strong&gt; your original function from their, which may be better than yours or just do something differently that fits better their needs.

That&#039;s a tremendous powerful feature!!!

And since you are teaching ppl how to do it, I think it is also important to teach them the importance of using prefixes on our functions (and hooks too!), so that they don&#039;t conflict with others&#039;.</description>
		<content:encoded><![CDATA[<p>Another good advantage of using hooks is that you can replace original code with yours.</p>
<p>In that way, when you are developing some code, you store it in a function and just below hooks this function with <code>add_action</code> and just after you call <code>do_action</code>.</p>
<p>A better description for <code>do_action</code> is that it calls all functions that are hooked to it, as if it was a list of functions calls. Doing as I said, your function will be called as if you had called it there.</p>
<p>But the difference of calling a function and using an action hook, aside from the action allowing to call a bunch of functions at once and letting other ppl to call their functions inside your code, is that other ppl can use the <strong><code>remove_action</code></strong> function to <strong>remove</strong> your original function from being called.  And after it, they can develop their own function and add it there, <strong>replacing</strong> your original function from their, which may be better than yours or just do something differently that fits better their needs.</p>
<p>That&#8217;s a tremendous powerful feature!!!</p>
<p>And since you are teaching ppl how to do it, I think it is also important to teach them the importance of using prefixes on our functions (and hooks too!), so that they don&#8217;t conflict with others&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UsefulCrumbs.com &#8212; Blog &#8212; BuddyPress Custom Component: Action Hooks</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2837</link>
		<dc:creator>UsefulCrumbs.com &#8212; Blog &#8212; BuddyPress Custom Component: Action Hooks</dc:creator>
		<pubDate>Thu, 19 Nov 2009 20:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2837</guid>
		<description>[...]  in BuddyPress Custom Component land, one needs to understand &#8220;action hooks&#8221;.  Here&#8217;s an involved explanation of Action Hooks [...]</description>
		<content:encoded><![CDATA[<p>[...]  in BuddyPress Custom Component land, one needs to understand &#8220;action hooks&#8221;.  Here&#8217;s an involved explanation of Action Hooks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Notable Tech Posts &#8211; 2009.10.25 &#124; The Life of Lew Ayotte</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2836</link>
		<dc:creator>Notable Tech Posts &#8211; 2009.10.25 &#124; The Life of Lew Ayotte</dc:creator>
		<pubDate>Mon, 26 Oct 2009 01:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2836</guid>
		<description>[...] an introduction to WordPress action hooks [...]</description>
		<content:encoded><![CDATA[<p>[...] an introduction to WordPress action hooks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christine Green</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2835</link>
		<dc:creator>Christine Green</dc:creator>
		<pubDate>Sun, 25 Oct 2009 00:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2835</guid>
		<description>Thanks for the intro to Action Hooks. It&#039;s all getting clear now.</description>
		<content:encoded><![CDATA[<p>Thanks for the intro to Action Hooks. It&#8217;s all getting clear now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: filipe</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2834</link>
		<dc:creator>filipe</dc:creator>
		<pubDate>Mon, 07 Sep 2009 05:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2834</guid>
		<description>THANKS A LOT!! finally a I understood the code and put a link in footer throut function !

TY again !!</description>
		<content:encoded><![CDATA[<p>THANKS A LOT!! finally a I understood the code and put a link in footer throut function !</p>
<p>TY again !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disha Hosting &#187; Define Your Own WordPress Action Hooks</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2833</link>
		<dc:creator>Disha Hosting &#187; Define Your Own WordPress Action Hooks</dc:creator>
		<pubDate>Fri, 31 Jul 2009 11:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2833</guid>
		<description>[...] An additional great read is Nathan&#8217;s &#8220;An Introduction to WordPress Action Hooks&#8220; [...]</description>
		<content:encoded><![CDATA[<p>[...] An additional great read is Nathan&#8217;s &#8220;An Introduction to WordPress Action Hooks&#8220; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Disha Hosting &#187; WordPress &#38; Blogging Articles for june 10 2009</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2832</link>
		<dc:creator>Disha Hosting &#187; WordPress &#38; Blogging Articles for june 10 2009</dc:creator>
		<pubDate>Fri, 31 Jul 2009 11:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2832</guid>
		<description>[...] An Introduction to WordPress Action Hooks If you’re going to be doing any level of WordPress development, themes or plugins, you will invariably run into the need to take advantage of the WordPress Action Hook system. But the more I am able to talk to people in the community, the more I realize that people simply don’t understand the concept very well, or at all. - By Nathan Rice [...]</description>
		<content:encoded><![CDATA[<p>[...] An Introduction to WordPress Action Hooks If you’re going to be doing any level of WordPress development, themes or plugins, you will invariably run into the need to take advantage of the WordPress Action Hook system. But the more I am able to talk to people in the community, the more I realize that people simply don’t understand the concept very well, or at all. &#8211; By Nathan Rice [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: good primer on action hooks http://www.n&#8230; &#171; BBX COM</title>
		<link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comment-2831</link>
		<dc:creator>good primer on action hooks http://www.n&#8230; &#171; BBX COM</dc:creator>
		<pubDate>Mon, 27 Jul 2009 03:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.nathanrice.net/?p=486#comment-2831</guid>
		<description>[...] primer on action hooks http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/   [...]</description>
		<content:encoded><![CDATA[<p>[...] primer on action hooks <a href="http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/" rel="nofollow">http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/</a>   [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
