Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WooCommerce Produkt-Tabs entfernen
/**
* WooCommerce - Produkt-Tabs deaktivieren
* https://wooexperte.de/snippet/woocommerce-produkt-tabs-reihenfolge-aendern/
*/
function woo_remove_product_tab($tabs) {
unset( $tabs['description'] ); // Entfernt Tab "Beschreibung"
unset( $tabs['reviews'] ); // Entfernt Tab "Bewertung"
unset( $tabs['additional_information'] ); // Entfernt Tab "Zusätzliche Informationen"
return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tab', 98);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment