Keyword Filter
Replace chosen keywords in post content with your own words.
Not scanned yet
WordPress plugin
10 installs
Install in
Keyword Filter replaces selected keywords in post content with the words you specify. It works by applying a WordPress filter to post content at display time, so the original post is kept in the database and only the output is changed.
Features:
- Case-insensitive matching for Latin text.
- Support for multibyte characters, including Chinese.
- Safe, single-pass replacement that preserves UTF-8 text.
- The replacement map can be customized without editing plugin code.
The default replacement map ships with the plugin. To set your own map, add the following to your theme’s functions.php or a custom plugin:
add_filter( 'keyword_filter_map', function() { return array( 'old' => 'new', 'example' => 'sample' ); } );
The array keys are the words to find, and the values are their replacements. Return an empty array to disable filtering.
Written by Joobi from the project's own listing. See the source page
26 Nov 2026
Version 1.1.0 released. Not scanned yet.
1.1.0
- Replaced byte-based string replacement with a UTF-8 safe approach.
- Added the
keyword_filter_mapfilter for custom replacements. - Fixed plugin header metadata and license information.
- Added compatibility with current WordPress and PHP versions.
1.0
- First stable version.
7 Mar 2012Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)