wpseek.com
A WordPress-centric search engine for devs and theme authors
trash_comment › WordPress Action Hooks
Since4.9.0
Deprecatedn/a
› do_action( 'trash_comment', $comment->comment_ID, $comment )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Fires immediately before a comment is sent to the Trash.
Related Functions: wp_trash_comment, wp_untrash_comment, the_comment, get_comment, wp_trash_post_comments, edit_comment