get_wp_title_rss filter-hook . WP 2.2.0
Filters the blog title for use as the feed title.
Usage
add_filter( 'get_wp_title_rss', 'filter_function_name_2977', 10, 2 ); function filter_function_name_2977( $title, $deprecated ){ // filter... return $title; }
- $title(string)
- The current blog title.
- $deprecated(string)
- Unused.
Changelog
Since 2.2.0 | Introduced. |
Since 4.4.0 | The $sep parameter was deprecated and renamed to $deprecated. |
Where the hook is called
get_wp_title_rss
wp-includes/feed.php 118
return apply_filters( 'get_wp_title_rss', wp_get_document_title(), $deprecated );