WordPress at a glance
function is not described

check_comment_flood_db() WP 2.3.0

Hooks WP's native database-based comment-flood check.

This wrapper maintains backward compatibility with plugins that expect to be able to unhook the legacy check_comment_flood_db() function from check_comment_flood remove_action().

No Hooks.

Return

null. Nothing.

Usage

check_comment_flood_db();

Changelog

Since 2.3.0 Introduced.
Since 4.7.0 Converted to be an add_filter() wrapper.

Code of check_comment_flood_db() WP 5.7.2

<?php
function check_comment_flood_db() {
	add_filter( 'wp_is_comment_flood', 'wp_check_comment_flood', 10, 5 );
}