Home Community String Replacer
📄
Other

String Replacer

Transform "Add to Cart" into "Buy Now", rename buttons, personalize labels - all without editing a single file.

8 views
0 forks
0 comments
String Replacer screenshot 1

String Replacer screenshot 1

This plugin adds an admin interface under Settings > String Replacer where site administrators can define multiple text find-and-replace pairs. It stores replacements in a WP option and hooks into the 'gettext' filter to replace matching text strings (including WooCommerce 'Add to Cart') dynamically without editing theme or plugin files. It includes nonce checks, add/remove UI, and sanitization.

Last updatedabout 1 month ago
Authorplugin0
Tags
strings replacerchange any texts
Share