Last active
June 24, 2017 15:04
-
-
Save wooexperte/67da795ec5c0445524719754faa1a7a3 to your computer and use it in GitHub Desktop.
WooCommerce Produkt-Tabs umbenennen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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