Fires immediately before a comment is sent to the Trash.
Parameters
$comment_idstring- The comment ID as a numeric string.
$commentWP_Comment- The comment to be trashed.
Source
do_action( 'trash_comment', $comment->comment_ID, $comment );
Fires immediately before a comment is sent to the Trash.
$comment_idstring$commentWP_Commentdo_action( 'trash_comment', $comment->comment_ID, $comment );
You must log in before being able to contribute a note or feedback.
User Contributed Notes