WordPress at a glance
filter is not described

comment_duplicate_message filter-hook . WP 5.2.0

Filters duplicate comment error message.

Usage

add_filter( 'comment_duplicate_message', 'filter_function_name_2549' );
function filter_function_name_2549( $comment_duplicate_message ){
	// filter...

	return $comment_duplicate_message;
}
$comment_duplicate_message(string)
Duplicate comment error message.

Where the hook is called

wp_allow_comment()
comment_duplicate_message
wp-includes/comment.php 698
$comment_duplicate_message = apply_filters( 'comment_duplicate_message', __( 'Duplicate comment detected; it looks as though you’ve already said that!' ) );

Where the hook is used (in WP core)

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