# comment_text_rss()

URL: https://chugunov.pro/api-wordpress/functions/comment_text_rss/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 1.0.0.

## Сигнатура

```php
comment_text_rss()
```

## Описание

Выводит содержимое текущего комментария для использования в лентах.

## Исходный код

Файл: `wp-includes/feed.php:356`

```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;
}
```

## История изменений

- 1.0.0 — Introduced.

## Связанные

Использует: [`get_comment_text`](https://chugunov.pro/api-wordpress/functions/get_comment_text/), [`apply_filters`](https://chugunov.pro/api-wordpress/functions/apply_filters/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/comment_text_rss/
