Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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