Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_is_comment_flood ›

Seit4.7.0
Veraltetn/v
Parameter: (5)
  • (bool) $is_flood Is a comment flooding occurring? Default false.
    Erforderlich: Ja
  • (string) $comment_author_IP Comment author's IP address.
    Erforderlich: Ja
  • (string) $comment_author_email Comment author's email.
    Erforderlich: Ja
  • (string) $comment_date_gmt GMT date the comment was posted.
    Erforderlich: Ja
  • (bool) $avoid_die Whether to prevent executing wp_die() or die() if a comment flood is occurring.
    Erforderlich: Ja
Definiert in:
Codex:

Filters whether a comment is part of a comment flood.

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





Quellcode

$is_flood = apply_filters(