Skip to content

Instantly share code, notes, and snippets.

@ahmedeshaan
Created December 9, 2021 10:53
Show Gist options
  • Save ahmedeshaan/2bd08d69506d686ee5b49ff267d2c3da to your computer and use it in GitHub Desktop.
Save ahmedeshaan/2bd08d69506d686ee5b49ff267d2c3da to your computer and use it in GitHub Desktop.
/** Remove product data tabs */
add_filter( 'woocommerce_product_tabs', 'my_remove_product_tabs', 98 );
function my_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); // To remove the additional information tab
return $tabs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment