Filters the ID, if any, of the duplicate comment found when creating a new comment.
Return an empty value from this filter to allow what WP considers a duplicate comment.
$dupe_idint
$commentdataarray
$dupe_id = apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/duplicate_comment_id