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



wp_is_comment_flood › Les Filtres WordPress

Depuis5.5.0
Dépréciéen/a
Paramètres: (5)
  • (bool) $is_flood Is a comment flooding occurring? Default false.
    Requis: Oui
  • (string) $comment_author_ip Comment author's IP address.
    Requis: Oui
  • (string) $comment_author_email Comment author's email.
    Requis: Oui
  • (string) $comment_date_gmt GMT date the comment was posted.
    Requis: Oui
  • (bool) $wp_error Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring.
    Requis: Oui
Défini(e) dans:
Codex:

Filters whether a comment is part of a comment flood.

The default check is wp_check_comment_flood(). See check_comment_flood_db().





Source

$is_flood = apply_filters(