wpseek.com
WordPress开发者和主题制作者的搜索引擎



check_comment_flood › WordPress动作钩子

Since5.5.0
已弃用n/a
参数: (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) $wp_error Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring.
    Required: Yes
定义在:
文档:

Fires immediately before a comment is marked approved.

Allows checking for comment flooding.





源码

do_action(