get_the_title_rss()
get_the_title_rss() 检索源的当前文章标题。Retrieve the current pos…
get_the_title_rss()
检索源的当前文章标题。
Retrieve the current post title for the feed.
检索源的当前文章标题。
Retrieve the current post title for the feed.
目录锚点:#返回#源码
返回(Return)
(string)当前文章标题。
源码(Source)
/**
* Retrieve the current post title for the feed.
*
* @since 2.0.0
*
* @return string Current post title.
*/
function get_the_title_rss() {
$title = get_the_title();
/**
* Filter 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;
}| 更新版本 | 源码位置 | 使用 | 被使用 |
|---|---|---|---|
| 2.0.0 | wp-includes/feed.php:153 | 1 function | 3 |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!