New Landing How can we help? Cardinal Change accordion titles & product sidebar Reply To: Change accordion titles & product sidebar

#131468
markfordham
Member
Post count: 57

In the end I had to paste this code from woocommerce documentation into functions.php

add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {
 
	$tabs['description']['title'] = __( 'More Information' );		// Rename the description tab
	$tabs['reviews']['title'] = __( 'Ratings' );				// Rename the reviews tab
	$tabs['additional_information']['title'] = __( 'Product Data' );	// Rename the additional information tab
 
	return $tabs;
 
}

The way you showed didn’t work for some reason. Done now. Cheers guys.