comment_duplicate_trigger
do_action( ‘comment_duplicate_trigger’, array $commentdata )
动作钩子::检测到重复的注释后立即激发。
Action Hook: Fires immediately after a duplicate comment is detected.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$commentdata | (array) | 注释数据。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.0.0 | wp-includes/comment.php:701 | 1 | 0 |
comment_duplicate_trigger 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_duplicate_trigger/