WordPress at a glance
filter is not described

comment_text filter-hook . WP 1.0

This filter is documented in wp-includes/comment-template.php

Usage

add_filter( 'comment_text', 'filter_function_name_8811', 10, 2 );
function filter_function_name_8811( $comment_content, $comment ){
	// filter...

	return $comment_content;
}
$comment_content
-
$comment
-

Where the hook is called

WP_REST_Comments_Controller::prepare_item_for_response()
comment_text
comment_text()
comment_text
check_comment()
comment_text
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1088
'rendered' => apply_filters( 'comment_text', $comment->comment_content, $comment ),
wp-includes/comment-template.php 1028
echo apply_filters( 'comment_text', $comment_text, $comment, $args );
wp-includes/comment.php 48
$comment = apply_filters( 'comment_text', $comment, null, array() );

Where in WP core the hook is used WordPress

wp-includes/class-walker-comment.php 185
add_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
wp-includes/class-walker-comment.php 203
remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
wp-includes/default-filters.php 144
add_filter( 'comment_text', 'capital_P_dangit', 31 );
wp-includes/default-filters.php 194
add_filter( 'comment_text', 'wptexturize' );
wp-includes/default-filters.php 195
add_filter( 'comment_text', 'convert_chars' );
wp-includes/default-filters.php 196
add_filter( 'comment_text', 'make_clickable', 9 );
wp-includes/default-filters.php 197
add_filter( 'comment_text', 'force_balance_tags', 25 );
wp-includes/default-filters.php 198
add_filter( 'comment_text', 'convert_smilies', 20 );
wp-includes/default-filters.php 199
add_filter( 'comment_text', 'wpautop', 30 );
wp-includes/default-filters.php 42
add_filter( 'comment_text', 'wp_kses_post' );