wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



duplicate_comment_id › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata )
Parametry: (2)
  • (int) $dupe_id ID of the comment identified as a duplicate.
    Wymagane: Tak
  • (array) $commentdata Data for the comment being created.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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