Last active
August 29, 2015 14:21
-
-
Save psaikali/fe915b1be028b2e0c5d2 to your computer and use it in GitHub Desktop.
On supprime l'onglet tab "Information complémentaire", on renomme l'onglet "Description" et "Avis" et on change l'ordre de la tab "Description"
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
function msk_remove_additionalinfo_tab($tabs) { | |
unset($tabs['additional_information']); | |
$tabs['description']['title'] = __('Details', 'msk'); | |
$tabs['reviews']['title'] = __( 'Clients reviews', 'msk' ); | |
$tabs['description']['priority'] = 50; | |
return $tabs; | |
} | |
add_filter('woocommerce_product_tabs', 'msk_remove_additionalinfo_tab', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment