wpseek.com
A WordPress-centric search engine for devs and theme authors



check_comment_flood › WordPress Action Hooks

Since5.5.0
Deprecatedn/a
do_action(
Parameters: (4)
  • () comment_author_ip Comment author's IP address.
    Required: Yes
  • () comment_author_email Comment author's email.
    Required: Yes
  • () comment_date_gmt GMT date the comment was posted.
    Required: Yes
  • () wp_error Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring.
    Required: Yes
Defined at:
Codex:

Fires immediately before a comment is marked approved.

Allows checking for comment flooding.




Source

do_action(