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 (delete "?>" if you have it there). 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.3.

If you think this code saved you time & money, feel free to join 14,000+ WooCommerce Weekly subscribers for blog post updates or 250+ Business Bloomer supporters for 365 days of WooCommerce benefits. Thank you in advance :)

Need Help with WooCommerce?

Check out these free video tutorials. You can learn how to customize WooCommerce without unnecessary plugins, how to properly configure the WooCommerce plugin settings and even how to master WooCommerce troubleshooting in case of a bug!

Rodolfo Melogli

Business Bloomer Founder

Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent 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.

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

  1. Hi how can I make this change for just one particular product? In both the tab and heading? Many thanks man!

    1. Hi Steve, I suggest you take a look at “conditional logic”: https://businessbloomer.com/woocommerce-conditional-logic-ultimate-php-guide/. Enjoy ๐Ÿ™‚

  2. 2022, and still works on 6.1.0 ! Thks a lot

  3. I tried 2 other solutions provided by wordpress and neither worked. Your snipped is perfect! Thank you.

  4. Thank you very much!! The code is still working perfectly!!!

    1. Yay!

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

    1. Nice!

  6. 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

  7. 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!

  8. Just what I needed! Grazie Rodolfo!

    1. Prego ๐Ÿ™‚

  9. 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.

  10. 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 shortcodes: [php]code_here[/php]. Failure to complying with this (as well as going off topic, not writing in English, etc.) will result in comment deletion. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining BloomerArmada to get blog comment reply priority, ask me 1-to-1 WooCommerce questions and enjoy many more perks. Thank you :)

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