trashed_comment, $comment->comment_ID, $comment
trashed_comment, $comment->comment_ID, $comment
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('trashed_comment, $comment->comment_ID, $comment') is found 1 times:
- /wp-includes/comment.php line 1645
* * @param string $comment_id The comment ID as a numeric string. * @param WP_Comment $comment The trashed comment. */ do_action( 'trashed_comment', $comment->comment_ID, $comment ); // For top level 'note' type comments, also trash children. if ( 'note' === $comment->comment_type && 0 === (int) $comment->comment_parent ) { $children = $comment->get_children( array( 'fields' => 'ids',