wpseek.com
A WordPress-centric search engine for devs and theme authors
delete_comment › WordPress Action Hooks
Since4.9.0
Deprecatedn/a
› do_action( 'delete_comment', $comment->comment_ID, $comment )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Fires immediately before 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