duplicate_comment_id

duplicate_comment_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('duplicate_comment_id') is found 1 times:

  • /wp-includes/comment.php line 688
    	 *
    	 * @param int   $dupe_id     ID of the comment identified as a duplicate.
    	 * @param array $commentdata Data for the comment being created.
    	 */
    	$dupe_id = apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata );
    
    	if ( $dupe_id ) {
    		/**
    		 * Fires immediately after a duplicate comment is detected.
    		 *
    		 * @since 3.0.0
    

See this hook used in plugins: