the_content_feed

过滤钩子
apply_filters( 'the_content_feed', $content, $feed_type )
参数
  • (string) $content The current post content.
    Required:
  • (string) $feed_type Type of feed. Possible values include 'rss2', 'atom'. Default 'rss2'.
    Required:
定义位置
相关勾子
the_contentthe_content_exportphone_contentfeed_content_typethe_editor_content
相关方法
the_content_feedget_the_content_feedthe_contentthe_content_rssis_comment_feedget_the_content
引入
2.9.0
弃用
-

the_content_feed与the_content类似,但专门用于RSS提要。它用于将文章内容的格式化,使之适合于在RSS feed中使用。

过滤用于feeds的文章内容。

return apply_filters( 'the_content_feed', $content, $feed_type );

常见问题

FAQs
查看更多 >
闪电侠

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

2026-01-29 07:09:33

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

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

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