Skip to content

Instantly share code, notes, and snippets.

@bradleysa
Created April 22, 2022 08:29
Show Gist options
  • Save bradleysa/ee22f6f2186bad361ec0d3c6b49f517c to your computer and use it in GitHub Desktop.
Save bradleysa/ee22f6f2186bad361ec0d3c6b49f517c to your computer and use it in GitHub Desktop.
WC: Remove "Additional information" Tab
// Remove the additional information tab
function quadlayers_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] );
return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'quadlayers_remove_product_tabs', 98 );
/** https://quadlayers.com/remove-additional-information-tab-in-woocommerce/ **/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment