函数原型
comment_text_rss()
函数描述
Displays the current comment content for use in the feeds.
是否弃用
未弃用
函数参数
无
函数返回值
无
函数位置
File: wp-includes/feed.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;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |

