Unable to add_filter to the_content_rss
-
Hi there,
I have the following code that should alter the content of the RSS feed but nothing happens in WordPress 1.2.1
function rssFooterTitle($rssContent)
{
/**************************************************************************
** Replace this with the code you would to append onto RSS posts . **
**************************************************************************/$rssFooter = "(Title) This was generated by RSSFoot @ https://www.0gravity.co.uk/";
/* Append our text */
$rssContent.= $rssFooter;return ($rssContent);
}add_filter('the_content_rss', 'rssFooterContent');
Any ideas with what might be wrong? the_excerpt_rss and the_title_rss work fine though!
- The topic ‘Unable to add_filter to the_content_rss’ is closed to new replies.