显示要在Feed中使用的当前评论内容。
原型
comment_text_rss()
源文件
路径:wp-includes/feed.php
<?php
...
function comment_text_rss() {
$comment_text = get_comment_text();
/**
* Filters the current comment content for use in a feed.
*
* @since 1.5.0
*
* @param string $comment_text The content of the current comment.
*/
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
echo $comment_text;
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/comment_text_rss/