[php]
// Tabs umbenennen
add_filter( ‚woocommerce_product_tabs‘, ‚woo_rename_tabs‘, 98 );
function woo_rename_tabs( $tabs ) {
if (isset($tabs[‚description‘][‚title‘])) {
$tabs[‚description‘][‚title‘] = __(‚Versions‘, ‚woocommerce‘); // Renames the tab
} else {
unset($tabs[‚description‘]);
};
if (isset($tabs[‚additional_information‘][‚title‘])) {
$tabs[‚additional_information‘][‚title‘] = __(‚Product Data‘, ‚woocommerce‘); // Renames the tab
} else {
unset($tabs[‚additional_information‘]);
};
return $tabs;
}
[/php]
Related Articles
- WC Attribute Komma durch Linebreak ersetzen
- WC Produkt Kategorie Name vor Bild in Liste anzeigen
- WooCommerce Abgeschlossene Bestellungen bearbeitbar machen
- WooCommerce Button für Anfrage mit Text-Prefill
- Add custom field to order checkout
- WooCommerce Conditional Email Text (User Role, Product Category)
- Fix Elementor fixed Background sizing
- Cronjob Überlappung verhindern – flock()
- WordPress Update Hinweise deaktivieren
- WP Download Manager "attached file is missing/deleted" Fehler