apply_filters( ‘duplicate_comment_id’, int $dupe_id, array $commentdata )

In this article

Filters the ID, if any, of the duplicate comment found when creating a new comment.

Description

Return an empty value from this filter to allow what WP considers a duplicate comment.

Parameters

$dupe_idint
ID of the comment identified as a duplicate.
$commentdataarray
Data for the comment being created.

Source

* expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.