WordPress at Your Fingertips
filter is not described

allow_empty_comment filter-hook . WP 1.0

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

Usage

add_filter( 'allow_empty_comment', 'filter_function_name_2158', 10, 2 );
function filter_function_name_2158( $false, $comment ){
	// filter...

	return $false;
}
$false
-
$comment
-

Where the hook is called

wp_xmlrpc_server::wp_newComment()
allow_empty_comment
wp_handle_comment_submission()
allow_empty_comment
WP_REST_Comments_Controller::check_is_comment_content_allowed()
allow_empty_comment
wp-includes/class-wp-xmlrpc-server.php 3984
$allow_empty = apply_filters( 'allow_empty_comment', false, $comment );
wp-includes/comment.php 3557
$allow_empty_comment = apply_filters( 'allow_empty_comment', false, $commentdata );
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1892
$allow_empty = apply_filters( 'allow_empty_comment', false, $check );

Where in WP core the hook is used WordPress

Usage not found.