Use this plugin to censor content on your site! Easily block out all forms of unwanted content by specifying a list of keywords to be filtered.
Flexible options include advanced control over content such as strict/non-strict filtering. Flagged keywords which are embedded in whole words can be ignored.
e.g. ‘competition’ will be ignored if you have ‘pet’ as a flagged keyword. Otherwise with strict filtering OFF it will appear as ‘com***ition’.
You can also select which sections of your WordPress site to censor including:
- Posts (including recent posts sidebar widget)
- Post title
- Comments (including recent comments sidebar widget)
- Comment authors
- Tag cloud
Keywords are replaced with wild card characters. Further options retain the first letter of each filtered keyword, remove all letters (wild card characters only), or retain the first and last letter of the filtered keyword.
e.g. The keyword pluto would be replaced with either p****, *****, or p***o. Keywords can also be filtered using case insensitive, or case sensitive options.
Please consider rating this Plugin if you find it useful. It only takes a moment but it’s very much appreciated. 🙂
Upgrade WP Content Filter today for even more plugin options!
NEW Filter BuddyPress and bbPress content too!
The Pro version includes a batch processor to actively scan your entire site for unwanted content! Checkout the screenshots, or click here for more details.
See our WordPress plugin site for more top plugins!
Instructions for installing the WP Content Filter Plugin.
- Download and extract the Plugin zip file.
- Upload the folder containing the Plugin files to your WordPress Plugins folder (usually ../wp-content/plugins/ folder).
- Activate the Plugin via the ‘Plugins’ menu in WordPress.
- Once activated you go to the Plugin options by clicking the ‘WP Content Filter’ link under the ‘Settings’ menu.
- Enter your required filter keywords and configure other options and your site content will be protected automatically.
How do I specify a character other than ‘*’ to blank out swear words etc?
As of version 1.1 you can now set this in the Plugin options page.
Does the Plugin change the content in the WordPress database?
No, the Plugin just filters content directly before it is displayed on the screen. No content in the database is ever altered.
There are no reviews for this plugin.
Contributors & Developers
“WP Content Filter — Censor All Offensive Content From Your Site” is open source software. The following people have contributed to this plugin.Contributors
Translate “WP Content Filter — Censor All Offensive Content From Your Site” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
3.0.1, JULY 14, 2020
Updated to work with WordPress 5.4.2.
- Tweaked plugin external links, and plugin readme text.
- Updated plugin settings page.
- Fixed broken image links on plugin settings page.
- Plugin settings page updated.
- Added video demonstrating new feature.
- Updated plugin links.
- Updated plugin settings links.
- Fixed bug when replacing first or first/last letter in matched keyword. Replaced characters now respect the original case.
- Fixed typos and missing info.
- Updated plugin with ‘Pro’ links.
- Fixed typo on main readme page.
- Settings page updated.
- Fixed bug in new default options code.
- Modified the way default Plugin options are handled. It’s now more stable when adding new options.
- Patched security issue.
- Added extra check for post global variable inside the content filter allowing you to add extra custom bbPress filters on pages where the post global variable isn’t defined.
- Security issue addressed and fixed.
- Enhancement: You can now selectively exclude certain pages from being filtered by entering a comma separated list of page ID’s in Plugin settings.
- Bug fix. Ajax generated content is now filtered too!
- Now filters post excerpt too!
- Options page text updated.
- Plugin options page updated.
- Fixed issue that echoed debug info.
- Minor update to Plugin options page.
- Support for filtering of bbPress title and content.
- Plugin options page updated.
- New internal function pre-fix used due to clash with another Plugin(s).
- Tested with WordPress 3.2.1.
- Updated for WordPress 3.1.
- Minor changes to Plugin options page.
- Tested and updated to work with WordPress 3.0.
- Ammendments to the Plugin options page.
- Strict filtering issue now fixed! Flagged keywords which are embedded in whole words can now be ignored with new Plugin options.
- New Plugin support package available.
- Admin help information labels updated.
- Screenshots resized, and a third one added.
- Added new filter character option — Blank, which replaces flagged keywords with nothing. i.e. basically just deletes the keyword(s).
- Changed drop down text for other filter character options to be in line with newly added option.
- Small CSS changes to WP Content Filter options page, to be consistent with WordPress options pages.
- Options table entries now removed when Plugin is deleted via WordPress admin.
- Legacy options entries now checked for and removed by default.
- Small edit to the menu page code.
- Overhaul of the Plugin code base.
- New options engine used.
- Options page completely updated.
- Keywords textbox input now validated, and automatically strips out HMTL tags.
- New option to preserve settings or restore defaults if the Plugin is temporarily deactivated and then reactivated.
- Option to delete Option db entries upon deactivation removed. Instead, a future version will delete these entries automatically when the Plugin is deactivated AND deleted.
- Comment author field, now filtered for keywords.
- Larger input area for entering keywords to be filtered.
- New option to remove all Plugin database settings when Plugin is deactivated. This is useful if you wish to delete the Plugin; in this case the option will clean up the database automatically. Note: If this option is selected, and the Plugin deactivated/activated then the Plugin options will revert to their defaults (i.e. same effect as installing the Plugin for the first time). So if you wish to retain your settings between updgrades leave this option at its default setting (off).
- Existing admin controls swapped around a bit.
- Can now select the wildcard character used in blanking out keywords (previous was fixed to only an asterisk).
- Choice of letters to retain in filtered keywords, options include: retain first letter (default), retain first and last letter, blank out ALL characters.