<?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: The Benefits of Using Hooks Instead Of Plugin-Specific Functions</title>
	<atom:link href="http://w-shadow.com/blog/2008/09/21/the-benefits-of-using-hooks-instead-of-plugin-specific-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://w-shadow.com/blog/2008/09/21/the-benefits-of-using-hooks-instead-of-plugin-specific-functions/</link>
	<description>A blog about web development, software business, and WordPress</description>
	<lastBuildDate>Tue, 22 May 2012 04:00:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: White Shadow</title>
		<link>http://w-shadow.com/blog/2008/09/21/the-benefits-of-using-hooks-instead-of-plugin-specific-functions/comment-page-1/#comment-12738</link>
		<dc:creator>White Shadow</dc:creator>
		<pubDate>Mon, 22 Sep 2008 22:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=374#comment-12738</guid>
		<description>About using the same hooks : I was thinking more of making it easier to replace plugins that do the same thing, i.e. only one plugin would use the hook at any particular time. But yes, it&#039;s unlikely all plugin authors would know/agree to use the same hook and API. Maybe in an ideal world.

Eh, great minds think alike, etc ;)</description>
		<content:encoded><![CDATA[<p>About using the same hooks : I was thinking more of making it easier to replace plugins that do the same thing, i.e. only one plugin would use the hook at any particular time. But yes, it&#8217;s unlikely all plugin authors would know/agree to use the same hook and API. Maybe in an ideal world.</p>
<p>Eh, great minds think alike, etc ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen R</title>
		<link>http://w-shadow.com/blog/2008/09/21/the-benefits-of-using-hooks-instead-of-plugin-specific-functions/comment-page-1/#comment-12737</link>
		<dc:creator>Stephen R</dc:creator>
		<pubDate>Mon, 22 Sep 2008 22:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://w-shadow.com/?p=374#comment-12737</guid>
		<description>You idea of multiple plugin authors using the same hook is probably a poor one.  What would happen is that the first plugin would output something, and then a second plugin would (most likely) overwrite that.  The odds of the multiple outputs being compatible aren&#039;t good.  There are lots of problems there.  This only works when there is an Official WordPress hook that demands a certain input/output -- don&#039;t expect distinct plugin authors to spontaneously produce compatible code...

...unless, of course, somebody makes an organized effort.

Also... as you point out -- &lt;a href=&quot;http://striderweb.com/nerdaphernalia/2008/08/use-custom-actions-in-your-wordpress-plugins/&quot; rel=&quot;nofollow&quot;&gt;I beat you to it&lt;/a&gt;. ;)</description>
		<content:encoded><![CDATA[<p>You idea of multiple plugin authors using the same hook is probably a poor one.  What would happen is that the first plugin would output something, and then a second plugin would (most likely) overwrite that.  The odds of the multiple outputs being compatible aren&#8217;t good.  There are lots of problems there.  This only works when there is an Official WordPress hook that demands a certain input/output &#8212; don&#8217;t expect distinct plugin authors to spontaneously produce compatible code&#8230;</p>
<p>&#8230;unless, of course, somebody makes an organized effort.</p>
<p>Also&#8230; as you point out &#8212; <a href="http://striderweb.com/nerdaphernalia/2008/08/use-custom-actions-in-your-wordpress-plugins/" rel="nofollow">I beat you to it</a>. ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

