Title: Text filter plugin
Last modified: August 18, 2016

---

# Text filter plugin

 *  [kuratkull](https://wordpress.org/support/users/kuratkull/)
 * (@kuratkull)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/text-filter-plugin/)
 * Hello, I have used WordPress for some time now. Anyway, I have been looking for
   a simple post-text-filter.
 * Here is how i imagine it:
    1. I open up the properties of the filter and enter“
   pre” in the box. 2. Tick one of these options: “Delete”, “Replace”(when selecting
   this, a new box appears, where i can write the word to replace the old word).
   3. And when my posts(to-be) or all post already existing, are filtered, it either
   removes or replaces the text.
 * It would be nice if there would be a random variable filtering too.
    Example:
   I have lots of links in my blog, like: [http://www.somepage.com/myuseridorsomething.php?=1234](http://www.somepage.com/myuseridorsomething.php?=1234)
   [http://www.somepage.com/myuseridorsomething.php?=4214](http://www.somepage.com/myuseridorsomething.php?=4214)
   etc.
 * So i enter the word
 * [http://www.somepage.com/myuseridorsomething.php?=xxxx](http://www.somepage.com/myuseridorsomething.php?=xxxx)
 * And the xxxx part is to be replaced or deleted.
 * Would really appreciate it, if someone would write this for me(the community).
   I bet other users would appreciate this plugin too 🙂
 * Please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [stoi2m1](https://wordpress.org/support/users/stoi2m1/)
 * (@stoi2m1)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/text-filter-plugin/#post-438254)
 * Use something like this in a plugin of your own:
 * function xx_generate($content) {
 *  $content = str_replace(“xxxxxx”, yyyyyy, $content);
 *  return $content;
 * }
    add_filter(‘the_content’, ‘xx_generate’);
 * the x’s will be replace with y’s. Be aware that this will replace anything that
   contains the same contents of the x’s with the y’s.
 * Goodluck
 *  Thread Starter [kuratkull](https://wordpress.org/support/users/kuratkull/)
 * (@kuratkull)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/text-filter-plugin/#post-438258)
 * Thanks, i will definately try this 🙂
 *  [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/text-filter-plugin/#post-438259)
 * There are 2 plugins I’ve used to help me do this. One is called w-p and the other
   is acronym replacer (or acronym replacer revisited).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Text filter plugin’ is closed to new replies.

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 3 replies
 * 3 participants
 * Last reply from: [jwurster](https://wordpress.org/support/users/jwurster/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/text-filter-plugin/#post-438259)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
