Fires immediately before a comment is sent to the Trash.
Parameters
$comment_id
string- The comment ID as a numeric string.
$comment
WP_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_id
string$comment
WP_Commentdo_action( 'trash_comment', $comment->comment_ID, $comment );
You must log in before being able to contribute a note or feedback.
User Contributed Notes