comment_text_rss

过滤钩子
apply_filters( 'comment_text_rss', $comment_text )
参数
  • (string) $comment_text The content of the current comment.
    Required:
定义位置
相关勾子
comment_textcomment_author_rssget_comment_textcomment_edit_precomment_excerpt
相关方法
comment_text_rsscomment_textcomment_existscomments_rsscomment_author_rssget_comment_text
引入
1.5.0
弃用
-

comment_text_rss是一个过滤钩,允许你修改包含在RSS feed中的评论文本。你可以使用这个钩子来为你的RSS提要以不同的格式显示评论文本,而不是在你的网站上显示。

过滤当前评论的内容,以便在feed中使用。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
$comment_text = apply_filters( 'comment_text_rss', $comment_text );

常见问题

FAQs
查看更多 >
闪电伯伯

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

2025-11-02 00:19:49

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

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

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