WordPress at a glance
filter is not described

pre_comment_content filter-hook . WP 1.5.0

Filters the comment content before it is set.

Usage

add_filter( 'pre_comment_content', 'filter_function_name_6772' );
function filter_function_name_6772( $comment_content ){
	// filter...

	return $comment_content;
}
$comment_content(string)
The comment content.

Where the hook is called

wp_filter_comment()
pre_comment_content
wp-includes/comment.php 1966
$commentdata['comment_content'] = apply_filters( 'pre_comment_content', $commentdata['comment_content'] );

Where the hook is used (in WP core)

wp-admin/includes/ajax-actions.php 1225
remove_filter( 'pre_comment_content', 'wp_filter_post_kses' );
wp-admin/includes/ajax-actions.php 1226
add_filter( 'pre_comment_content', 'wp_filter_kses' );
wp-includes/comment.php 3269
remove_filter( 'pre_comment_content', 'wp_filter_post_kses' );
wp-includes/comment.php 3270
add_filter( 'pre_comment_content', 'wp_filter_kses' );
wp-includes/default-filters.php 126
add_filter( $filter, 'convert_invalid_entities' );
wp-includes/default-filters.php 127
add_filter( $filter, 'balanceTags', 50 );
wp-includes/default-filters.php 251
add_filter( 'pre_comment_content', 'wp_rel_nofollow', 15 );
wp-includes/kses.php 1982
add_filter( 'pre_comment_content', 'wp_filter_post_kses' );
wp-includes/kses.php 1984
add_filter( 'pre_comment_content', 'wp_filter_kses' );
wp-includes/kses.php 2010
remove_filter( 'pre_comment_content', 'wp_filter_post_kses' );
wp-includes/kses.php 2011
remove_filter( 'pre_comment_content', 'wp_filter_kses' );