Uma área de pesquisa sobre o WordPress para devs e autores do tema



duplicate_comment_id ›

Desde4.4.0
Obsoleton/a
apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata )
Parâmetros: (2)
  • (int) $dupe_id ID of the comment identified as a duplicate.
    Required: Yes
  • (array) $commentdata Data for the comment being created.
    Required: Yes
Definido em:
Codex:

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.





Fonte

$dupe_id = apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata );