Skip to content

Filters out SPAM comments and prevents them from being posted on the site.

Notifications You must be signed in to change notification settings

pluginsclub/Anti-SPAM-Comment-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Anti-SPAM-Comment-Filter

Screenshot

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.

Screenshot

Screenshot

About

Filters out SPAM comments and prevents them from being posted on the site.

Topics

Resources

Stars

Watchers

Forks

Languages