Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
On supprime l'onglet tab "Information complémentaire", on renomme l'onglet "Description" et "Avis" et on change l'ordre de la tab "Description"
function msk_remove_additionalinfo_tab($tabs) {
$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
You can’t perform that action at this time.