How to Change the Name of Tabs in Woocommerce?

In the Woocommerce Product page, The three tabs are shown by default names ad Description, Additional Information, and reviews.

Now, many times we need to change the names of the tabs that are by default and there is no such option to rename them under the Woocommerce Settings. So here is the code that we used to rename the Description Tab. Paste this code in your functions.php file and save it.

Code is:

add_filter( 'woocommerce_product_tabs', 'woo_rename_tab', 98);
function woo_rename_tab($tabs) {
$tabs['description']['title'] = 'More info';
return $tabs;
}

Note: Please backup your functions.php file before updating the code. If you like the post, please share it with your friends and family.

Share with Love :

Share on facebook
Facebook
Share on google
Google+
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on whatsapp
WhatsApp

Leave a Comment

Your email address will not be published. Required fields are marked *

RELATED POSTS