WordPress at a glance
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_6918', 10, 2 );
function filter_function_name_6918( $false, $check ){
	// filter...

	return $false;
}
$false
-
$check
-

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.