(taxonomy)_(field)_rss
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
(taxonomy)_(field)_rss
wp-includes/taxonomy.php 1867
$value = apply_filters( "{$taxonomy}_{$field}_rss", $value );
Where the hook is used in WordPress
wp-includes/default-filters.php 184
add_filter( 'term_name_rss', 'convert_chars' );
wp-includes/default-filters.php 250
add_filter( 'the_title_rss', 'strip_tags' );
wp-includes/default-filters.php 251
add_filter( 'the_title_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 252
add_filter( 'the_title_rss', 'esc_html' );
wp-includes/default-filters.php 253
add_filter( 'the_content_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 256
add_filter( 'the_excerpt_rss', 'convert_chars' );
wp-includes/default-filters.php 257
add_filter( 'the_excerpt_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 258
add_filter( 'comment_author_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 259
add_filter( 'comment_text_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 260
add_filter( 'comment_text_rss', 'esc_html' );
wp-includes/default-filters.php 261
add_filter( 'comment_text_rss', 'wp_staticize_emoji' );
wp-includes/default-filters.php 401
add_action( 'do_feed_rss', 'do_feed_rss', 10, 0 );