Anti-SPAM Comment Filter
Filters out SPAM comments and prevents them from being posted on the site.
by plugins.club · github.com/pluginsclub/anti-spam-comment-filter · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/pluginsclub/anti-spam-comment-filter/archive/refs/heads/main.zipReadme
Anti-SPAM-Comment-Filter

WordPress has a built-in comment filtering option Disallowed Comment Keys that allows you to keep in moderation queue comments that contain specific words, but the problem with this method is that comments are still saved in the database and size can grow to hundreds of GBs.
Anti-SPAM Comment Filter is a free WordPress plugin that filters comments based on specified keywords and rejectes them when submitted, without recording them in the database! Activate the plugin and under Settings > Comment FIlter add a list of keywords to be blocked.
Here is a list of SPAM-reladed keywords that you can use: https://www.activecampaign.com/blog/spam-words
This plugin hooks into the preprocess_comment action and checks the comment content for any of the specified keywords. If a keyword is found, the comment submission is halted and an error message is displayed to the user. If no keywords are found, the comment is allowed to be posted as normal.

