duplicate_comment_id

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'duplicate_comment_id', int $dupe_id, array $commentdata )

Description Description

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

Parameters Parameters

$dupe_id

(int) ID of the comment identified as a duplicate.

$commentdata

(array) Data for the comment being created.

Source Source

File: wp-includes/comment.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.