Created
May 25, 2018 22:42
-
-
Save fervous/8bf879581e61f3f17259b0bce0c96ee6 to your computer and use it in GitHub Desktop.
Remove WooCommerce Additional Details Tab
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
/* remove additional details tab from product page */ | |
add_filter( 'woocommerce_product_tabs', 'custom_remove_product_tabs', 98 ); | |
function custom_remove_product_tabs( $tabs ) { | |
unset( $tabs['additional_information'] ); | |
return $tabs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment