How to change the "customer reviews" text near the star rating on Woocommerce product pages?

I mean this text:
customer reviews
I don't edit core files, any filter (or anything easier) would be great.

Thanks
Onur YılmazFounder at someka.netAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Banshi lal dangiFull Stack DeveloperCommented:
You can edit these files in an upgrade-safe way using overrides.

    Templates files can be found within the /wp-content/plugins/woocommerce/templates/ directory.

 1.   Copy the needed file into the directory within your theme named woocommerce (create if it does not exist), keeping the same file structure but removing the templates subdirectory.

  2.  For example, if you need to overwrite file /wp-content/plugins/woocommerce/templates/archive-product.php, copy this file to /themes/themexxxx/woocommerce folder:
    woocommerce_how_to_overwrite_templates_1

 3.   The copied file will now override the WooCommerce default template file.

 4.   Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.
2

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Onur YılmazFounder at someka.netAuthor Commented:
Hmm.. So you say this is the easiest and only way to change rating text in woocommerce. Right?
0
Banshi lal dangiFull Stack DeveloperCommented:
Yes,  Never do any modification in plugin file directly,  otherwise on upgrade we lose the changes same with the theme.
0
Onur YılmazFounder at someka.netAuthor Commented:
No, I know not to modify core files. But my question was to use a filter or any custom function to change the text?
0
Banshi lal dangiFull Stack DeveloperCommented:
If you are particularly looking for filter, this link might help you.
https://www.speakinginbytes.com/2013/10/gettext-filter-wordpress/
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.