I had input the following code to change the name of the tab “Additional Information”
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;
}
I attempted to make a change and started getting a fatal error shown in the site in the private content. I tried to re-upload the original functions.php code and that is not helping.
Any ideas to get the site back up?
thanks!
Hi kprice2690!
Please change your code to following one
add_filter( 'woocommerce_product_tabs', 'woo_new_rename_tabs', 98 );
function woo_new_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;
}
Cheers!
Yigit
Hey kprice2690!
Please provide us with ftp access, so we can assti you with the issue fix.
Best regards,
Basilis
