comment_text_rss()WP 1.0.0

Displays the current comment content for use in the feeds.

Хуки из функции

Возвращает

null. Ничего (null).

Использование

comment_text_rss();

Список изменений

С версии 1.0.0 Введена.

Код comment_text_rss() 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;
}