函数原型
get_the_title_rss(): string
函数描述
Retrieves the current post title for the feed.
是否弃用
未弃用
函数参数
无
函数返回值
string Current post title.
函数位置
File: wp-includes/feed.php.
函数源码
function get_the_title_rss() {
$title = get_the_title();
/**
* Filters the post title for use in a feed.
*
* @since 1.2.0
*
* @param string $title The current post title.
*/
return apply_filters( 'the_title_rss', $title );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |

