comment_text_rss WordPress Filter Hook
The comment_text_rss hook is used to filter the text of a comment when it is displayed in an RSS feed. This hook is called before the comment is displayed in the feed, and allows you to modify the comment text before it is included in the RSS feed.
apply_filters( 'comment_text_rss', string $comment_text ) #
Filters the current comment content for use in a feed.
Parameters
- $comment_text
(string)The content of the current comment.
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |