(taxonomy)_(field)_rss filter-hookWP 2.3.0

Filters the taxonomy field for use in RSS.

The dynamic portions of the hook name, $taxonomy, and $field, refer to the taxonomy slug and field name, respectively.

Usage

add_filter( '(taxonomy)_(field)_rss', 'wp_kama_taxonomy_field_rss_filter' );

/**
 * Function for `(taxonomy)_(field)_rss` filter-hook.
 * 
 * @param mixed $value Value of the taxonomy field.
 *
 * @return mixed
 */
function wp_kama_taxonomy_field_rss_filter( $value ){

	// filter...
	return $value;
}
$value(mixed)
Value of the taxonomy field.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

sanitize_term_field()
(taxonomy)_(field)_rss
wp-includes/taxonomy.php 1841
$value = apply_filters( "{$taxonomy}_{$field}_rss", $value );

Where the hook is used in WordPress

wp-includes/default-filters.php 181
add_filter( 'term_name_rss', 'convert_chars' );
wp-includes/default-filters.php 247
add_filter( 'the_title_rss', 'strip_tags' );
wp-includes/default-filters.php 248
add_filter( 'the_title_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 249
add_filter( 'the_title_rss', 'esc_html' );
wp-includes/default-filters.php 250
add_filter( 'the_content_rss', 'ent2ncr', 8 );
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 );
wp-includes/default-filters.php 255
add_filter( 'comment_author_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 256
add_filter( 'comment_text_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 257
add_filter( 'comment_text_rss', 'esc_html' );
wp-includes/default-filters.php 258
add_filter( 'comment_text_rss', 'wp_staticize_emoji' );
wp-includes/default-filters.php 397
add_action( 'do_feed_rss', 'do_feed_rss', 10, 0 );