Created
January 4, 2019 02:05
-
-
Save fervous/7704a230546f56c4ec15f44c13523fb3 to your computer and use it in GitHub Desktop.
Remove Shipping tab from 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 shipping tab on the product-edit form. | |
add_filter( 'wcv_product_meta_tabs', 'remove_shipping_tab' ); | |
function remove_shipping_tab( $tabs ){ | |
unset( $tabs['shipping'] ); | |
return $tabs; | |
} // remove_shipping_tab() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment