Skip to content

Instantly share code, notes, and snippets.

@fervous
Created January 4, 2019 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fervous/7704a230546f56c4ec15f44c13523fb3 to your computer and use it in GitHub Desktop.
Save fervous/7704a230546f56c4ec15f44c13523fb3 to your computer and use it in GitHub Desktop.
Remove Shipping tab from product form WC Vendors Pro
// 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