This plugin has been created out of a requirement to block the use of certain words or HTML tags from the content of a wordpress blog post.
Why Would You Want This Plugin?
One scenario could be that you have a blog where you have multiple writers and communication between the writers is not always perfect. And you have just had a complaint from a company and they never want you to use their company name again. You tell the writers but the brand name is so popular it gets written again and you have a whole world of pain.
Using this plugin would replace any of your blacklisted HTML tags or words in your posts with the {censored} word, which is configurable in the main PHP script.
What Makes This Super Useful?
The thing that makes this plugin especially useful is that it is designed to be distributed throughout a network of blogs which will all use the same list of blacklisted HTML tags or words. And of course there are no visible footprints to show that this plugin is in use.
Installation Instructions?
Download the blacklist plugin.
Create a text file called blacklist.txt on a server in an accessable place. List in this file your blacklisted HTML or words, one word per line.
Modfiy the blacklist.php file, changing the $blacklist_location variable to reflect the location of the blacklist.txt file.
Upload the file to your wp-content/plugins/ directory of your blog.
Activate the plugin in your Wordpress admin area.
Adding New Words to the Blacklist
If you wish to add new words to the blacklist then simply add them to the blacklist.txt file and they will instantly be filtered out of any post where the plugin is enabled.
Changing the Replacement Word
{censored} may not be the best word to replace your blacklisted HTML or words so you can change this in the blacklist.php file by modifying the $replaced variable.
Why Is There No Admin Interface?
This plugin was a quick fix to an urgent issue so there wasn’t time to make it have a pretty interface for changing replacement words and adding blacklist words so if anyone has the time and skills to add this in then feel free to post a copy in the comments and i’ll update the plugin and give you credit with a link to your site.