the_excerpt_rss

过滤钩子
apply_filters( 'the_excerpt_rss', $output )
参数
  • (string) $output The current post excerpt.
    Required:
定义位置
相关勾子
the_excerptthe_excerpt_exportthe_excerpt_embedget_the_excerptthe_category_rss
相关方法
the_excerpt_rssthe_excerptthe_excerpt_embedget_the_excerptthe_content_rsshas_excerpt
引入
1.2.0
弃用
-

the_excerpt_rss – 这是一个WordPress函数,在RSS feed中显示一个文章的摘录。摘录是文章的一个简短摘要,通常显示在博客的首页,在RSS feed中用来给用户一个文章内容的快速概述。the_excerpt_rss函数可以用来定制摘要在feed中的显示方式,通过控制其长度、格式和其他细节。

过滤用于feed的文章摘录。

echo apply_filters( 'the_excerpt_rss', $output );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 18:32:58

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: