Created
December 9, 2021 10:53
-
-
Save ahmedeshaan/2bd08d69506d686ee5b49ff267d2c3da to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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