Change "Description Title" in single product page
in WooCommerce
Hi,
I have tried different ways to change the "Description Title " on single product page, but no luck,
I found 1 code from WooCommerce to achieve that:
-------------------
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;
}
--------------------
They say to paste it in functions.php
Would you be able to point out the exact location for that .php file.
Thanks
Comments
functions.php file is located in the main theme folder (/wp-content/themes/betheme/). Please know that we do not support these kinds of code modifications and we are not held responsible if something goes wrong.
thanks