Last active
August 29, 2015 14:22
-
-
Save omurphy27/f560940fda33115986e0 to your computer and use it in GitHub Desktop.
Remove tabs from WooCommerce Single Product View
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 woo_remove_product_tabs( $tabs ) { | |
unset( $tabs['description'] ); // Remove the description tab | |
unset( $tabs['additional_information'] ); // Remove the additional information tab | |
unset( $tabs ); // Remove all tabs | |
return $tabs; | |
} | |
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 97 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment