[wp-testers] the_content_rss and the_excerpt_rss
Philip M. Hofer (Frumph)
philip at frumph.net
Mon Dec 17 16:18:05 UTC 2012
It ended up being an echo coming from something else
-----Original Message-----
From: Otto
Sent: Monday, December 17, 2012 7:17 AM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] the_content_rss and the_excerpt_rss
On Mon, Dec 17, 2012 at 7:52 AM, Philip M. Hofer (Frumph)
<philip at frumph.net> wrote:
> yeah it's returning, not echo'ing ..
>
> will try later on with _feed
Well, I can't duplicate this. This code works fine on a base install.
add_filter('the_content_feed','add_to_feed');
add_filter('the_excerpt_rss','add_to_feed');
function add_to_feed($content) {
return $content . "STUFF AFTER CONTENT IN FEED";
}
So, something else has to be happening with your code.
-Otto
_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers
More information about the wp-testers
mailing list