Title: String Replacer
Author: BaiatuLuTata
Published: <strong>June 21, 2025</strong>
Last modified: December 8, 2025

---

Search plugins

![](https://ps.w.org/string-replacer/assets/banner-772x250.png?rev=3313494)

![](https://ps.w.org/string-replacer/assets/icon-256x256.png?rev=3313494)

# String Replacer

 By [BaiatuLuTata](https://profiles.wordpress.org/baiatulutata/)

[Download](https://downloads.wordpress.org/plugin/string-replacer.1.4.3.zip)

 * [Details](https://twd.wordpress.org/plugins/string-replacer/#description)
 * [Reviews](https://twd.wordpress.org/plugins/string-replacer/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/string-replacer/#installation)
 * [Development](https://twd.wordpress.org/plugins/string-replacer/#developers)

 [Support](https://wordpress.org/support/plugin/string-replacer/)

## Description

String Replacer lets you define pairs of strings to search and replace across your
WordPress site — including content, post titles, footer text, and outgoing emails.
It works instantly and includes a simple admin interface for managing replacements.

### Features

 * Replace strings in:
    - Post **titles**
    - Post **content**
    - Site-wide output (e.g., **footer**, **widgets**, etc.)
    - Outgoing **emails** (`wp_mail()`)
 * Simple **admin UI** with:
    - Add/remove rows
    - Live search
    - Pagination
 * Replaces email addresses and works inside `mailto:` links
 * **Preserves leading and trailing spaces** in replacement strings
 * Supports multilingual and branding replacement use cases
 * Fully local, compliant with WordPress plugin guidelines

### Usage

 1. In the admin screen, add one or more rows:
 2.  * “Original String” (e.g., `Hello`)
     * “Replacement String” (e.g., `Bonjour`)
 3. Save your changes.
 4. The plugin will handle replacements in frontend output and emails automatically.

### Examples

 * Replace `support@oldsite.com`  `help@newbrand.com`
 * Replace `Hello`  `Bonjour`
 * Replace `ACME Inc.`  `NewCorp`
 * Replace `"Hello "` (with a space)  `"Hi "` (space preserved)

### Filters & Extensibility

This plugin hooks into:
 – `the_title` and `the_content` – `template_redirect` output
buffering – `wp_mail` filter (subject, message, and headers)

Developers can use `STRIRE_replace_strings( $text )` to apply replacements manually
in custom contexts.

### Author

Created by **Ionut Baldazar**
 GitHub: https://github.com/baiatulutata Email: baiatulutata@woomag.
ro

## Screenshots

 * [[

## Installation

 1. Upload the plugin to `/wp-content/plugins/`, or install via the WordPress Plugin
    Directory.
 2. Activate it via the ‘Plugins’ screen.
 3. Navigate to **Settings  String Replacer** to add your string pairs.

## FAQ

### Will it work with custom post types or WooCommerce?

Yes, any output that uses `the_title` or `the_content` filters, or appears in final
HTML output, will be processed. This includes many plugins.

### Will it replace strings in dynamic JavaScript or AJAX responses?

No, it only replaces visible strings rendered in HTML or passed through known filters.

## Reviews

![](https://secure.gravatar.com/avatar/e677cce5d9d34f3ad43b4890c491badb5749af4f90c9891dc5b97b3dccac934b?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-17076/)󠁿

 [Brandon](https://profiles.wordpress.org/brandonkramer/) March 13, 2026

Exactly what I needed

![](https://secure.gravatar.com/avatar/61a8aeb78ecb221cf4e579527e33ee8f18270a4d16528fdc3ed0e716c8c7d908?
s=60&d=retro&r=g)

### 󠀁[i made this plugin](https://wordpress.org/support/topic/i-made-this-plugin-2/)󠁿

 [BaiatuLuTata](https://profiles.wordpress.org/baiatulutata/) June 21, 2025 1 reply

and it is absolutely awesome! you can take out unwanted links or change that weird
label that you don’t know where it is coming from

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/string-replacer/reviews/)

## Contributors & Developers

“String Replacer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ BaiatuLuTata ](https://profiles.wordpress.org/baiatulutata/)

[Translate “String Replacer” into your language.](https://translate.wordpress.org/projects/wp-plugins/string-replacer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/string-replacer/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/string-replacer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/string-replacer/)
by [RSS](https://plugins.trac.wordpress.org/log/string-replacer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.2

 * Added support for preserving leading/trailing whitespace in string replacements
 * Improved sanitization logic using `wp_unslash()`
 * Updated plugin description and feature list

#### 1.4.1

 * Changed contact information in readme files

#### 1.4

 * Various fixes to get the plugin approved in the directory

#### 1.3

 * Fixed Out of Date Libraries
 * Allowing Direct File Access to plugin files

#### 1.2

 * Added `wp_mail` support for replacing strings in emails
 * Added search, pagination, and better sanitization in the admin grid
 * Localized all scripts and removed CDN dependencies for WP.org compliance

## Meta

 *  Version **1.4.3**
 *  Last updated **4 months ago**
 *  Active installations **100+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/string-replacer/)
 * Tags
 * [admin tool](https://twd.wordpress.org/plugins/tags/admin-tool/)[content filter](https://twd.wordpress.org/plugins/tags/content-filter/)
   [email filter](https://twd.wordpress.org/plugins/tags/email-filter/)[string replace](https://twd.wordpress.org/plugins/tags/string-replace/)
   [translation](https://twd.wordpress.org/plugins/tags/translation/)
 *  [Advanced View](https://twd.wordpress.org/plugins/string-replacer/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/string-replacer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/string-replacer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/string-replacer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/string-replacer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/string-replacer/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/string-replacer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/string-replacer/reviews/)

## Contributors

 *   [ BaiatuLuTata ](https://profiles.wordpress.org/baiatulutata/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/string-replacer/)