WordPress at a glance
filter is not described

comment_text_rss filter-hook . WP 1.5.0

Filters the current comment content for use in a feed.


add_filter( 'comment_text_rss', 'filter_function_name_9881' );
function filter_function_name_9881( $comment_text ){
	// filter...

	return $comment_text;
The content of the current comment.

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

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

Где вызывается хук

wp-includes/feed.php 363
$comment_text = apply_filters( 'comment_text_rss', $comment_text );

Где используется хук в ядре WP

wp-includes/default-filters.php 224
add_filter( 'comment_text_rss', 'ent2ncr', 8 );
wp-includes/default-filters.php 225
add_filter( 'comment_text_rss', 'esc_html' );
wp-includes/default-filters.php 226
add_filter( 'comment_text_rss', 'wp_staticize_emoji' );