Hi there,
I hope this is an easy one – have just spent 20mins searching the forum and cant find an answer.
I would like to change the word “description’ on the Description tab. I have inserted the below code into my functions.php file.
/* RENAME TABS================================================== */
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;
}
BUT i get an error on the front-end inside that tab saying:
“Warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /home/peacho/public_html/wp-content/themes/neighborhood/woocommerce/single-product/tabs/tabs.php on line 35”
Hope someone can help 🙂