Skip to content

Instantly share code, notes, and snippets.

@fervous
Created May 25, 2018 22:42
Show Gist options
  • Save fervous/8bf879581e61f3f17259b0bce0c96ee6 to your computer and use it in GitHub Desktop.
Save fervous/8bf879581e61f3f17259b0bce0c96ee6 to your computer and use it in GitHub Desktop.
Remove WooCommerce Additional Details Tab
/* 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