Skip to content

Instantly share code, notes, and snippets.

@wooexperte
Last active June 24, 2017 15:04
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 wooexperte/67da795ec5c0445524719754faa1a7a3 to your computer and use it in GitHub Desktop.
Save wooexperte/67da795ec5c0445524719754faa1a7a3 to your computer and use it in GitHub Desktop.
WooCommerce Produkt-Tabs umbenennen
/*
* WooCommerce - Produkt-Tabs umbenennen
* https://wooexperte.de/snippet/woocommerce-produkt-tabs-umbenennen/
*/
add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {
$tabs['description']['title'] = __( 'More Information' ); // Tab Beschreibung
$tabs['reviews']['title'] = __( 'Ratings' ); // Tab Bewertungen
$tabs['additional_information']['title'] = __( 'Product Data' ); // Tab Zusätzliche Informationen
return $tabs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment