Last active
March 21, 2017 20:30
-
-
Save brandalismo/927afdc34778f698686df9c12bef65b5 to your computer and use it in GitHub Desktop.
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
/* | |
* DESHABILITAR PESTAÑAS DE LA FICHA DE PRODUCTO | |
*/ | |
function woo_remove_product_tab($tabs) { | |
unset( $tabs['description'] ); // Eliminar la pestaña de Descripción | |
unset( $tabs['reviews'] ); // Eliminar la pestaña de Valoraciones | |
unset( $tabs['additional_information'] ); // Eliminar la pestaña de Información Adicional | |
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