How to change text (strings) of WordPress plugins

Would you like to change any plugin’s text(string) without modifying plugin files? For example, if you like to change WooCommerce to E-Commerce. We can use the below filters of WordPress to change the text.

We can use this filter whenever we don’t know which text domain is used for the text we want to change. For example, we want to shift WooCommerce to E-Commerce on the admin left menu of WordPress. However, we do not know which text domain is used to print that text. We can do as like the example below.

You can use this filter when you know the text is printed with the specific text domain. I always preferred to use this filter when you know the text domain name. Because if you add many more unwanted filters then put load on site. With the text, domain filter was only called when the string was for the specific domain.


If it still doesn’t work, please reach out to us. We are happy to help you.

Article written by

The WebCoder

We are skilled in all aspects of web design, from planning and development to design and testing. I also have experience in web development technologies.