Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | apply_filters | 688 | /** * 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. * * @since 4.4.0 * * @param int $dupe_id ID of the comment identified as a duplicate. * @param array $commentdata Data for the comment being created. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $dupe_id | ID of the comment identified as a duplicate. |
array | $commentdata | Data for the comment being created. |