wpseek.com
A WordPress-centric search engine for devs and theme authors
duplicate_comment_id › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( 'duplicate_comment_id', $dupe_id, $commentdata )
Parameters: (2) |
|
Defined at: |
|
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.
Related Functions: update_comment_meta, get_comment_id, paginate_comments_links, update_comment_cache, wp_update_comment, delete_comment_meta
Related Hooks: get_comment_id, delete_comment, wp_update_comment_data, deleted_comment, unspam_comment