Skip to content

Instantly share code, notes, and snippets.

@pintop pintop/woo-product-tabs.php Secret
Created Nov 27, 2014

What would you like to do?
Remove WooCommerce Additional Information Tab
//remove additonal info tab from products
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
global $product;
if( $product->has_attributes() || $product->has_dimensions() || $product->has_weight() ) {
unset( $tabs['additional_information'] );
return $tabs;
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.