check_comment_flood_db

Advertisement

Summery Summery

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

Syntax Syntax

check_comment_flood_db()

Description Description

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’ using remove_action().

Source Source

File: wp-includes/comment.php

	 * @since 4.9.0 Returning a WP_Error value from the filter will short-circuit comment insertion
	 *              and allow skipping further processing.
	 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Converted to be an add_filter() wrapper.
2.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.