On this page
do_action( 'comment_duplicate_trigger', array $commentdata )
Fires immediately after a duplicate comment is detected.
Parameters
$commentdataarray-
Comment data.
Source
File: wp-includes/comment.php. View all references
do_action( 'comment_duplicate_trigger', $commentdata );
Related
Used By
| Used By | Description |
|---|---|
| wp_allow_comment() wp-includes/comment.php | Validates whether this comment is allowed to be made. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_duplicate_trigger