get_wp_title_rss() – Retrieve the blog title for the feed title.
You appear to be a bot. Output may be restricted
Description
Retrieves the blog title for the feed title.
Usage
$string = get_wp_title_rss( $deprecated );
Parameters
- $deprecated
- ( string ) optional default: – – Unused.
Returns
string The document title.
Source
File name: wordpress/wp-includes/feed.php
Lines:
1 to 17 of 17
function get_wp_title_rss( $deprecated = '–' ) { if ( '–' !== $deprecated ) { /* translators: %s: 'document_title_separator' filter name. */ _deprecated_argument( get_wp_title_rss, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) ); } /** * Filters the blog title for use as the feed title. * * @since 2.2.0 * @since 4.4.0 The `$sep` parameter was deprecated and renamed to `$deprecated`. * * @param string $title The current blog title. * @param string $deprecated Unused. */ return apply_filters( 'get_wp_title_rss', wp_get_document_title(), $deprecated ); }