[wp-testers] the_content_rss and the_excerpt_rss

Otto otto at ottodestruct.com
Mon Dec 17 15:17:27 UTC 2012


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


More information about the wp-testers mailing list