×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Rename ‘Description’ tab label on single product

The tab labels on the single product view are “Description”, “Additional Information” and “Reviews” by default. You can rename the “Description” tab with this code.

		/**
 * Rename description tab label on single product
 */

// Renames the description tab label on the single product page to an alternative text.
// https://www.businessbloomer.com/woocommerce-edit-product-tabs-labels/

add_filter( 'woocommerce_product_description_tab_title', 'sc_woo_rename_description_product_tab_label' );

function sc_woo_rename_description_product_tab_label() {
    return 'About this product';
}
	
   View Raw Code ID: 91170