comment_duplicate_trigger WordPress Action Hook
The comment_duplicate_trigger hook is used to fire an action when a duplicate comment is found. By default, this hook does not do anything. However, you can use this hook to perform an action when a duplicate comment is found, such as logging the comment or sending an email notification.
do_action( 'comment_duplicate_trigger', array $commentdata ) #
Fires immediately after a duplicate comment is detected.
Parameters
- $commentdata
(array)Comment data.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |