trash_comment – action

Fires immediately before a comment is sent to the Trash. 

Parameters

.
( 2.9.0 ) . .
Added
( 4.9.0 ) the `$comment` parameter. . . .
( string ) $comment_id The comment ID as a numeric string. . . .
$comment
( WP_Comment ) The comment to be trashed. . . .
API Letters: ,

Implementers