check_comment_flood

最后更新于:2021-11-25 23:05:01

do_action( ‘check_comment_flood’, string $comment_author_IP, string $comment_author_email, string $comment_date_gmt, bool $gc_error )

Fires immediately before a comment is marked approved.

参数

$comment_author_IP

(string)
Comment author’s IP address.

$comment_author_email

(string)
Comment author’s email.

$comment_date_gmt

(string)
GMT date the comment was posted.

$gc_error

(bool)
Whether to return a GC_Error object instead of executing gc_die() or die() if a comment flood is occurring.

源文件

文件: gc-includes/comment.php

View on Trac