WooCommerce – Change Product Description Heading Title

Change the heading title in the product description panel on the single product page in WooCommerce. This is for the ‘Product Description’ title inside the panel, NOT for the ‘Description’ tab. This code snippet goes in your functions.php, or other functions file. Change line 9 where it says, ‘YOUR CUSTOM TITLE’, to your own title.

/** 
 * Change on single product panel "Product Description"
 * since it already says "features" on tab.
 */
add_filter('woocommerce_product_description_heading',
'isa_product_description_heading');

function isa_product_description_heading() {
	echo 'YOUR CUSTOM TITLE';
}

Variation

You may want to remove the heading title altogether since it’s sort of redundant; there’s already a tab on top with a title. So, to remove the title, do this code instead:

/** 
 * remove on single product panel, "Product Description"
 * since it already says "Description" on tab.
 */
add_filter('woocommerce_product_description_heading',
'isa_product_description_heading');

function isa_product_description_heading() {
	echo '';
}

Courtesy of: http://isabelcastillo.com/change-product-description-title-woocommerce

Comments

comments

Recent Posts