comment_text_rss()
Displays the current comment content for use in the feeds.
Hooks from the function
Return
null
. Nothing (null).
Usage
comment_text_rss();
Changelog
Since 1.0.0 | Introduced. |
comment_text_rss() comment text rss code WP 6.5.2
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; }