wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



duplicate_comment_id › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata )
Parametri: (2)
  • () dupe_id ID of the comment identified as a duplicate.
    Richiesto: Sì
  • () commentdata Data for the comment being created.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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