Comment Filter WordPress Plugin | Codefreex Skip to content
Comment Filter icon

WordPress plugin

Comment Filter

Filter unwanted words in comments by replacing them with asterisks.

By williamlong20+ active installs
Active installs
20+
Version
1.1.0
Last updated
Nov 26, 2026
Tested up to
WordPress 7.1.5
Requires
WP 4.6 · PHP 7.4

Health check

Is Comment Filter safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on November 26, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Comment Filter ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Comment Filter
KeywordPositionChangeTrendCurrent #1
comment
comments
filter
security
comment filter

Checked against the top 100 WordPress.org search results.

Overview

What Comment Filter does

Comment Filter replaces unwanted words in comment text with asterisks. It hooks into WordPress at display time, so the original comment is kept in the database and only the output is filtered.

Case-insensitive matching, so both uppercase and lowercase words are filtered.

Support for multibyte characters, including Chinese.

Fast single-pass replacement, safe even for long comments.

The word list can be customized without editing plugin code.

By default, a built-in list of words is used. To change it, add the following to your theme’s functions.php or a custom plugin:

add_filter( 'comment_filter_banned_words', function() { return 'word1|word2|word3'; } );

Description from the author's listing. Read the full listing on WordPress.org

FAQ

Comment Filter: questions and answers

What is Comment Filter?

Comment Filter is a WordPress plugin by williamlong. Filter unwanted words in comments by replacing them with asterisks.

Is Comment Filter free?

Comment Filter is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Comment Filter?

WordPress.org reports 20+ active installations of Comment Filter. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Comment Filter still maintained?

Comment Filter was last updated on November 26, 2026. The current version is 1.1.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Comment Filter require?

Comment Filter requires WordPress 4.6 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize Comment Filter?

Yes. Codefreex installs, configures and customizes WordPress plugins including Comment Filter, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Comment Filter set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us