<?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: Understanding Filter Hooks In WordPress</title>
	<atom:link href="http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 01:12:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SPeed_FANat1c</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-13628</link>
		<dc:creator>SPeed_FANat1c</dc:creator>
		<pubDate>Wed, 04 Jan 2012 13:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-13628</guid>
		<description>oh, some of the code is hidden in the comment, so its not that usefull :( I hope I will post it later in my website</description>
		<content:encoded><![CDATA[<p>oh, some of the code is hidden in the comment, so its not that usefull <img src='http://www.raymondselda.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  I hope I will post it later in my website</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SPeed_FANat1c</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-13627</link>
		<dc:creator>SPeed_FANat1c</dc:creator>
		<pubDate>Wed, 04 Jan 2012 13:14:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-13627</guid>
		<description>Found the solution:



there is callback function named custom_comment

you can create in functions.php function with this name and there print the comment look yourself.

In it you will use something like this:

 &#039;Atsakyti&#039; ,&#039;depth&#039; =&gt; $depth, &#039;max_depth&#039; =&gt; $args[&#039;max_depth&#039;]))) ?&gt;

there as you see is array with parameters, and one of them is reply_text, enter you text and should work :)</description>
		<content:encoded><![CDATA[<p>Found the solution:</p>
<p>there is callback function named custom_comment</p>
<p>you can create in functions.php function with this name and there print the comment look yourself.</p>
<p>In it you will use something like this:</p>
<p> &#8216;Atsakyti&#8217; ,&#8217;depth&#8217; =&gt; $depth, &#8216;max_depth&#8217; =&gt; $args['max_depth']))) ?&gt;</p>
<p>there as you see is array with parameters, and one of them is reply_text, enter you text and should work <img src='http://www.raymondselda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SPeed_FANat1c</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-13626</link>
		<dc:creator>SPeed_FANat1c</dc:creator>
		<pubDate>Wed, 04 Jan 2012 10:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-13626</guid>
		<description>could you explain please, why this does not work for me (I am oveeriding core, not theme function)

add_filter(&#039;get_comment_reply_link&#039;, &#039;mano_get_comment_reply_link&#039;, 1, 3);

function mano_get_comment_reply_link($args = array(), $comment = null, $post = null) {
	
	echo &#039;override&#039;;

	global $user_ID;
	
	$defaults = array(&#039;add_below&#039; =&gt; &#039;comment&#039;, &#039;respond_id&#039; =&gt; &#039;respond&#039;, &#039;reply_text&#039; =&gt; __(&#039;Atsakyti&#039;),
		&#039;login_text&#039; =&gt; __(&#039;Log in to Reply&#039;), &#039;depth&#039; =&gt; 0, &#039;before&#039; =&gt; &#039;&#039;, &#039;after&#039; =&gt; &#039;&#039;);

	$args = wp_parse_args($args, $defaults);

	if ( 0 == $args[&#039;depth&#039;] &#124;&#124; $args[&#039;max_depth&#039;] comment_post_ID;
	$post = get_post($post);

	if ( !comments_open($post-&gt;ID) )
		return false;

	$link = &#039;&#039;;

	if ( get_option(&#039;comment_registration&#039;) &amp;&amp; !$user_ID )
		$link = &#039;&lt;a href=&quot;&#039; . esc_url( wp_login_url( get_permalink() ) ) . &#039;&quot; rel=&quot;nofollow&quot;&gt;&#039; . $login_text . &#039;&lt;/a&gt;&#039;;
	else
		$link = &quot;&lt;a&gt;comment_ID ) ) . &quot;#&quot; . $respond_id . &quot;&#039; onclick=&#039;return addComment.moveForm(\&quot;$add_below-$comment-&gt;comment_ID\&quot;, \&quot;$comment-&gt;comment_ID\&quot;, \&quot;$respond_id\&quot;, \&quot;$post-&gt;ID\&quot;)&#039;&gt;$reply_text&lt;/a&gt;&quot;;
	//return apply_filters(&#039;mano_comment_reply_link&#039;, $before . $link . $after, $args, $comment, $post);
	//echo apply_filters(&#039;mano_comment_reply_link&#039;, $before . $link . $after, $args, $comment, $post);
	echo $before . $link . $after;
}


I simply want change text of the reply link on comment.</description>
		<content:encoded><![CDATA[<p>could you explain please, why this does not work for me (I am oveeriding core, not theme function)</p>
<p>add_filter(&#8216;get_comment_reply_link&#8217;, &#8216;mano_get_comment_reply_link&#8217;, 1, 3);</p>
<p>function mano_get_comment_reply_link($args = array(), $comment = null, $post = null) {</p>
<p>	echo &#8216;override&#8217;;</p>
<p>	global $user_ID;</p>
<p>	$defaults = array(&#8216;add_below&#8217; =&gt; &#8216;comment&#8217;, &#8216;respond_id&#8217; =&gt; &#8216;respond&#8217;, &#8216;reply_text&#8217; =&gt; __(&#8216;Atsakyti&#8217;),<br />
		&#8216;login_text&#8217; =&gt; __(&#8216;Log in to Reply&#8217;), &#8216;depth&#8217; =&gt; 0, &#8216;before&#8217; =&gt; &#8221;, &#8216;after&#8217; =&gt; &#8221;);</p>
<p>	$args = wp_parse_args($args, $defaults);</p>
<p>	if ( 0 == $args['depth'] || $args['max_depth'] comment_post_ID;<br />
	$post = get_post($post);</p>
<p>	if ( !comments_open($post-&gt;ID) )<br />
		return false;</p>
<p>	$link = &#8221;;</p>
<p>	if ( get_option(&#8216;comment_registration&#8217;) &amp;&amp; !$user_ID )<br />
		$link = &#8216;<a href="' . esc_url( wp_login_url( get_permalink() ) ) . '" rel="nofollow">&#8216; . $login_text . &#8216;</a>&#8216;;<br />
	else<br />
		$link = &#8220;<a>comment_ID ) ) . &#8220;#&#8221; . $respond_id . &#8220;&#8216; onclick=&#8217;return addComment.moveForm(\&#8221;$add_below-$comment-&gt;comment_ID\&#8221;, \&#8221;$comment-&gt;comment_ID\&#8221;, \&#8221;$respond_id\&#8221;, \&#8221;$post-&gt;ID\&#8221;)&#8217;&gt;$reply_text</a>&#8220;;<br />
	//return apply_filters(&#8216;mano_comment_reply_link&#8217;, $before . $link . $after, $args, $comment, $post);<br />
	//echo apply_filters(&#8216;mano_comment_reply_link&#8217;, $before . $link . $after, $args, $comment, $post);<br />
	echo $before . $link . $after;<br />
}</p>
<p>I simply want change text of the reply link on comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sergio</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-13127</link>
		<dc:creator>sergio</dc:creator>
		<pubDate>Tue, 04 Oct 2011 18:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-13127</guid>
		<description>I can&#039;t see how the code in child_postheader() function would wrap the title generated by the postheader()function.

If that filter is ment to wrap something else, I don&#039;t see the ralation between both codes.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t see how the code in child_postheader() function would wrap the title generated by the postheader()function.</p>
<p>If that filter is ment to wrap something else, I don&#8217;t see the ralation between both codes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-10185</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 15 Feb 2011 16:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-10185</guid>
		<description>Very interesting article. I never quite understood the role of filter in WP until now.</description>
		<content:encoded><![CDATA[<p>Very interesting article. I never quite understood the role of filter in WP until now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joded</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-2227</link>
		<dc:creator>joded</dc:creator>
		<pubDate>Fri, 03 Jul 2009 05:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-2227</guid>
		<description>Nicely article</description>
		<content:encoded><![CDATA[<p>Nicely article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Dev &#187; Blog Archive &#187; Understanding Filter Hooks In Wordpress &#124; Raymond Selda</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-1961</link>
		<dc:creator>WordPress Dev &#187; Blog Archive &#187; Understanding Filter Hooks In Wordpress &#124; Raymond Selda</dc:creator>
		<pubDate>Fri, 26 Jun 2009 13:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-1961</guid>
		<description>[...] more here: Understanding Filter Hooks In Wordpress &#124; Raymond Selda  [...]</description>
		<content:encoded><![CDATA[<p>[...] more here: Understanding Filter Hooks In WordPress | Raymond Selda  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Roundup: 15 June 2009&#160;&#124;&#160;WooCamp</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-1770</link>
		<dc:creator>WordPress Roundup: 15 June 2009&#160;&#124;&#160;WooCamp</dc:creator>
		<pubDate>Mon, 15 Jun 2009 16:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-1770</guid>
		<description>[...] A guide to the Actions API [Link] This is a nice little tutorial on how to use WP actions to automatically execute / initiate certain functions within a WP theme or plugin. Whilst we only use the odd action (or hook / filter) with some of the WooThemes, we highly recommend that serious WordPress developers have a good understanding of the possibilities of using actions, hooks &amp; filters. [...]</description>
		<content:encoded><![CDATA[<p>[...] A guide to the Actions API [Link] This is a nice little tutorial on how to use WP actions to automatically execute / initiate certain functions within a WP theme or plugin. Whilst we only use the odd action (or hook / filter) with some of the WooThemes, we highly recommend that serious WordPress developers have a good understanding of the possibilities of using actions, hooks &amp; filters. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CSS Brigit &#124; Understanding Filter Hooks In Wordpress</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-1758</link>
		<dc:creator>CSS Brigit &#124; Understanding Filter Hooks In Wordpress</dc:creator>
		<pubDate>Fri, 12 Jun 2009 13:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-1758</guid>
		<description>&lt;strong&gt; Understanding Filter Hooks In Wordpress...&lt;/strong&gt;

	
			
						
							
				Last week I wrote about using action hooks and today we are going to take a look at how filter hooks can help us in building a more flexible Wordpress theme.
			
			...</description>
		<content:encoded><![CDATA[<p><strong> Understanding Filter Hooks In WordPress&#8230;</strong></p>
<p>				Last week I wrote about using action hooks and today we are going to take a look at how filter hooks can help us in building a more flexible WordPress theme.</p>
<p>			&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex Guy</title>
		<link>http://www.raymondselda.com/understanding-filter-hooks-in-wordpress/#comment-1754</link>
		<dc:creator>Flex Guy</dc:creator>
		<pubDate>Thu, 11 Jun 2009 16:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.raymondselda.com/?p=1163#comment-1754</guid>
		<description>very nice article…keep on the good work</description>
		<content:encoded><![CDATA[<p>very nice article…keep on the good work</p>
]]></content:encoded>
	</item>
</channel>
</rss>

