WooCommerce: Rename Product Description Tab Label @ Single Product Page

Product tabs show on the single product page, right below the image gallery. Tab labels are “Description”, “Additional Information”, “Reviews” by default – but what if you wish to rename them into something more relevant to your users?

Here’s a simple PHP snippet you can copy/paste into your child theme’s functions.php file to immediately change the “Description” tab name – enjoy ๐Ÿ™‚

Editing Product Tab Names @ WooCommerce Single Product Page

Snippet (PHP): Rename Description Product Tab Name @ WooCommerce Single Product Page


/**
 * @snippet       Rename Description Product Tab Label @ WooCommerce Single Product
 * @how-to        Get CustomizeWoo.com FREE
 * @sourcecode    https://businessbloomer.com/?p=97724
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 3.5.3
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */ 

add_filter( 'woocommerce_product_description_tab_title', 'bbloomer_rename_description_product_tab_label' );

function bbloomer_rename_description_product_tab_label() {
    return 'New Name';
}

Where to add this snippet?

You can place PHP snippets at the bottom of your child theme functions.php file (before "?>" if you have it). CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files - if you need more guidance, please take a look at my free video tutorial "Where to Place WooCommerce Customization?"

Does this snippet (still) work?

Please let me know in the comments if everything worked as expected. I would be happy to revise the snippet if you report otherwise (please provide screenshots). I have tested this code with Storefront theme, the WooCommerce version listed above and a WordPress-friendly hosting on PHP 7+.

If you think this code saved you time & money, please join other Business Bloomer supporters and avail of 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce Customization?

Check out these free video tutorials. You can start learning how to customize WooCommerce without unnecessary plugins. Watch me code and learn by example!

  • how-to-edit-woocommerce-with-php-snippets
  • woocommerce-hooks-add_action-list-visual
  • woocommerce-customize-single-product-page-PHP

Rodolfo Melogli

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as a WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza.

16 thoughts on “WooCommerce: Rename Product Description Tab Label @ Single Product Page

  1. Thank you, Rodolfo, It’s easy to implement and working like a charm.

    1. Nice!

  2. This code does not work on woocommerce 3.8.1 anymore.. I searched online and found that the following works for my site:

    // Rename a default WooCommerce tab
    add_filter( 'woocommerce_product_tabs', 'yikes_rename_default_woocommerce_tabs', 98, 1 );
    
    function yikes_rename_default_woocommerce_tabs( $tabs ) {
    
    	if ( isset( $tabs['description'] ) ) {
    		$tabs['description']['title'] = 'My Own Text';
    	}
    
    	return $tabs;
    }
    

    Hope this helps someone out there using the latest woocommerce 3.8

    1. Thank you!

      1. Just wanted to say, I’m on v4.0.1 of WooCommerce and the original code posted at the top of the page seems to be working fine for me. The mod I created for the Additional Info tab below seems ok too…?

        1. Great!

          1. Code is above works with 4.+ version.

            1. Cool

  3. Hey, thanks for this. Just wanted to say that the code for renaming tabs on the WooCommerce website (https://docs.woocommerce.com/document/editing-product-data-tabs/) had a bug. It would force the Additional Information tab to appear on every page even when a product had no additional information. So I added your code to my functions file, but then I also copied it and modified it slightly to make it rename the Additional Information tab as well. I put that code right under your code. Here’s what it is:

    add_filter( 'woocommerce_product_additional_information_tab_title', 'bbloomer_rename_additional_information_product_tab_label' );
     
    function bbloomer_rename_additional_information_product_tab_label() {
        return 'New Name';
    }
    

    I’m guessing it will also work for the Reviews tab.

    1. Nice!

  4. Just what I needed! Grazie Rodolfo!

    1. Prego ๐Ÿ™‚

  5. How can i change the label which is under the tab like “Description” ?
    The above snippet is only change the tab title not content title.

  6. How should the code look if I want to change the Additional information tab to Size Options?

    1. Hey Carole, thanks for your comment! Instead of “woocommerce_product_description_tab_title” try using “woocommerce_product_additional_information_tab_title”

Questions? Feedback? Support? Leave your Comment Now!
_____

If you are writing code, please wrap it between: [php]code_here[/php]. Failure to complying with this (as well as going off topic) will result in comment deletion. You should expect a reply in about a week - this is a popular blog but I need to get paid work done first. Please consider joining #BloomerArmada to ask me 1-to-1 WooCommerce questions. Thank you :)

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