get_wp_title_rss filter-hookWP 2.2.0

Filters the blog title for use as the feed title.

Usage

add_filter( 'get_wp_title_rss', 'wp_kama_get_wp_title_rss_filter', 10, 2 );

/**
 * Function for `get_wp_title_rss` filter-hook.
 * 
 * @param string $title      The current blog title.
 * @param string $deprecated Unused.
 *
 * @return string
 */
function wp_kama_get_wp_title_rss_filter( $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()
get_wp_title_rss
wp-includes/feed.php 118
return apply_filters( 'get_wp_title_rss', wp_get_document_title(), $deprecated );

Where the hook is used in WordPress

Usage not found.