Created
April 8, 2017 23:55
-
-
Save fervous/db7322a7c9d04db2cca243a996402c5c to your computer and use it in GitHub Desktop.
remove attributes tab from the product-edit.php product form WC Vendors Pro
This file contains 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 attribute tab on the product-edit form. | |
add_filter( 'wcv_product_meta_tabs', 'remove_product_tabs' ); | |
function remove_product_tabs( $tabs ){ | |
unset( $tabs['attributes'] ); | |
return $tabs; | |
} // remove_product_tabs() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment