get_gc_title_rss()
最后更新于:2021-11-27 04:10:31
get_gc_title_rss( string$deprecated=’–’)Retrieve the blog title for the feed title.
参数
- $deprecated
-
(string) (Optional) Unused..
Default value: ‘–’
响应
(string) The document title.
源文件
文件: gc-includes/feed.php
function get_gc_title_rss( $deprecated = '–' ) {
if ( '–' !== $deprecated ) {
/* translators: %s: 'document_title_separator' filter name. */
_deprecated_argument( __FUNCTION__, '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_gc_title_rss', gc_get_document_title(), $deprecated );
}