Uma área de pesquisa sobre o WordPress para devs e autores do tema



check_comment_flood ›

Desde4.7.0
Obsoleton/a
Parâmetros: (4)
  • (string) $comment_author_IP Comment author's IP address.
    Required: Yes
  • (string) $comment_author_email Comment author's email.
    Required: Yes
  • (string) $comment_date_gmt GMT date the comment was posted.
    Required: Yes
  • (bool) $avoid_die Whether to prevent executing wp_die() or die() if a comment flood is occurring.
    Required: Yes
Definido em:
Codex:

Fires immediately before a comment is marked approved.

Allows checking for comment flooding.





Fonte

do_action(