wpseek.com
A WordPress-centric search engine for devs and theme authors
deleted_comment › WordPress Action Hooks
Since4.9.0
Deprecatedn/a
› do_action( 'deleted_comment', $comment->comment_ID, $comment )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Fires immediately after a comment is deleted from the database.
Related Functions: wp_delete_comment, delete_comment_meta, delete_meta, get_comment, the_comment, wp_ajax_delete_comment
Related Hooks: delete_comment, rest_delete_comment, deleted_postmeta, get_comment, delete_attachment