首页    >    中文手册    >   常用函数-get_the_title_rss()

常用函数-get_the_title_rss()

常用函数-get_the_title_rss()

说明

为feed检索当前文章的标题

用法

<?php get_the_title_rss() ?>

参数

返回的值

(字符串)

当前文章标题

示例

注释

  • 用法: apply_filters()在文章标题上调用 ‘the_title_rss’
  • 用法:使用 get_the_title()来获取文章标题

修改记录

自2.0.0版本后

源文件

get_the_title_rss()位于 wp-includes/feed.php.中。

相关资源

分类:中文手册

* 版权声明:作者WordPress啦! 转载请注明出处。