delete_comment – action
Fires immediately before a comment is deleted from the database.
Parameters
- .
- ( 1.2.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 deleted. . . .