the_excerpt_rss filter-hookWP 1.2.0

Filters the post excerpt for a feed.

Usage

add_filter( 'the_excerpt_rss', 'wp_kama_the_excerpt_rss_filter' );

/**
 * Function for `the_excerpt_rss` filter-hook.
 * 
 * @param string $output The current post excerpt.
 *
 * @return string
 */
function wp_kama_the_excerpt_rss_filter( $output ){

	// filter...
	return $output;
}
$output(string)
The current post excerpt.

Changelog

Since 1.2.0 Introduced.

Where the hook is called

the_excerpt_rss()
the_excerpt_rss
wp-includes/feed.php 234
echo apply_filters( 'the_excerpt_rss', $output );

Where the hook is used in WordPress

wp-includes/default-filters.php 253
add_filter( 'the_excerpt_rss', 'convert_chars' );
wp-includes/default-filters.php 254
add_filter( 'the_excerpt_rss', 'ent2ncr', 8 );