WordPress开发者和主题制作者的搜索引擎



get_the_title_rss ›

Since2.0.0
已弃用n/a
get_the_title_rss ( 没有参数 )
返回:
  • (string) Current post title.
定义在:
文档:

Retrieve the current post title for the feed.



源码

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.
	 */
	$title = apply_filters( 'the_title_rss', $title );
	return $title;
}