Comment Filter
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.
Solid choice
Comment Filter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 7 days ago, and scores 67/100 on our health check.
- Actively developed — last update 7 days ago
- Tested with the latest WordPress (7.1)
- Small user base (20+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Comment Filter stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| comment | >100 |
| comments | >100 |
| filter | >100 |
| security | >100 |
Version adoption
Share of active sites per release.
About Comment Filter
From the official readme · v1.1.0Description
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.
Features:
- 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'; } );
Separate words with the pipe character (|). To disable filtering, return an empty string.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory, or install it through the WordPress Plugins screen. - Activate the plugin through the Plugins menu in WordPress.
- Optional: use the
comment_filter_banned_wordsfilter to set your own word list.
Changelog
1.1.0
- Replaced the old loop with a single case-insensitive replacement for better performance.
- Added the
comment_filter_banned_wordsfilter for custom word lists. - Added compatibility with current WordPress and PHP versions.
- Fixed potential issues with long comments.
1.0
- First stable version.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Comment Filter alternatives
All comment plugins →FAQ
Comment Filter: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Comment Filter free?
Yes. Comment Filter is free to download and use from the official WordPress.org plugin directory.
Is Comment Filter safe to use in 2026?
Comment Filter is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 7 days ago, and scores 67/100 on our health check.
How many websites use Comment Filter?
Comment Filter is active on 20+ WordPress websites and has been downloaded 3,424 times since it launched in March 2012. It was downloaded 111 times in the last 30 days.
Does Comment Filter work with WordPress 7.1?
Yes. The developer has tested Comment Filter up to WordPress 7.1.5, the latest release. It requires WordPress 4.6 or newer.
What PHP version does Comment Filter need?
Comment Filter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Comment Filter last updated?
The latest version, 1.1.0, was released on November 26, 2026 (7 days ago).
Who makes Comment Filter?
Comment Filter is developed and maintained by williamlong.
What are the best alternatives to Comment Filter?
The most popular alternatives to Comment Filter are Bulk Delete Comments (5K+ installs), DCO Comment Attachment (5K+ installs) and One Click Close Comments (5K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
