WordPress at a glance
filter is not described

get_comment_excerpt filter-hook . WP 1.5.0

Filters the retrieved comment excerpt.

Usage

add_filter( 'get_comment_excerpt', 'filter_function_name_4680', 10, 3 );
function filter_function_name_4680( $excerpt, $comment_ID, $comment ){
	// filter...

	return $excerpt;
}
$excerpt(string)
The comment excerpt text.
$comment_ID(int)
The comment ID.
$comment(WP_Comment)
The comment object.

Notes

  • Since 4.1.0 The $comment_ID and $comment parameters were added.

Where the hook is called

get_comment_excerpt()
get_comment_excerpt
wp-includes/comment-template.php 618
return apply_filters( 'get_comment_excerpt', $excerpt, $comment->comment_ID, $comment );

Where the hook is used (in WP core)

Does not used.