the_content_rss filter-hookWP 0.71

Filters the post content in the context of an RSS feed.

Usage

add_filter( 'the_content_rss', 'wp_kama_the_content_rss_filter' );

/**
 * Function for `the_content_rss` filter-hook.
 * 
 * @param string $content Content of the current post.
 *
 * @return string
 */
function wp_kama_the_content_rss_filter( $content ){

	// filter...
	return $content;
}
$content(string)
Content of the current post.

Changelog

Since 0.71 Introduced.

Where the hook is called

the_content_rss()
the_content_rss
wp-includes/deprecated.php 1689
$content = apply_filters('the_content_rss', $content);

Where the hook is used in WordPress

wp-includes/default-filters.php 241
add_filter( 'the_content_rss', 'ent2ncr', 8 );