动作钩子::在触发comment flood消息之前激发。
do_action( ‘comment_flood_trigger’, int $time_lastcomment , int $time_newcomment )
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$time_lastcomment | (int) | 上次发布评论的时间戳。 |
$time_newcomment | (int) | 发布新评论的时间戳。 |
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-includes/comment.php:915 | 1 | 0 |