How to Force Delete Comments
By default, WordPress moves deleted comments to the trash
Last updated
By default, WordPress moves deleted comments to the trash
Last updated
When you delete a comment, whether from the frontend or admin dashboard, it is moved to the trash.
However, there's a way through code to force delete a comment anytime it's deleted.
You'd place the following in a or code snippet.
To force delete comments marked as spam, you'd modify the above for the spammed_comment
filter.
If comment deletion is enabled in Comment Edit Core, you can force delete a comment by adding the following:
, a premium plugin that compliments Comment Edit Core, has options for force deletion.