Title: comment_text_rss
Published: April 25, 2014
Last modified: April 28, 2025

---

# apply_filters( ‘comment_text_rss’, string $comment_text )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#wp--skip-link--target)

Filters the current comment content for use in a feed.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#parameters)󠁿

 `$comment_text`string

The content of the current comment.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#source)󠁿

    ```php
    $comment_text = apply_filters( 'comment_text_rss', $comment_text );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/feed.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/feed.php#L365)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/feed.php#L365-L365)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#related)󠁿

| Used by | Description | 
| [comment_text_rss()](https://developer.wordpress.org/reference/functions/comment_text_rss/)`wp-includes/feed.php` |

Displays the current comment content for use in the feeds.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/comment_text_rss/?output_format=md#changelog)󠁿

| Version | Description | 
| [1.5.0](https://developer.wordpress.org/reference/since/1.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fcomment_text_rss%2F)
before being able to contribute a note or feedback.