wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



check_comment_flood_db › WordPress Function

Depuis2.3.0
Dépréciéen/a
check_comment_flood_db ( Pas de paramètres )
Défini(e) dans:
Codex:
Changelog:
  • 4.7.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' using remove_action().


Source

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