Skip to content

Instantly share code, notes, and snippets.

@roscabgdn
Created March 11, 2016 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roscabgdn/a473654bccbc3735a660 to your computer and use it in GitHub Desktop.
Save roscabgdn/a473654bccbc3735a660 to your computer and use it in GitHub Desktop.
Renaming Tabs WooCommerce
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment