Last active
June 3, 2020 23:31
-
-
Save digitalchild/591160ed0302ab101207054c5b4fbcb5 to your computer and use it in GitHub Desktop.
Remove shipping panel from single product page
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
<?php | |
// remove shipping panel from product single page and remove ships from | |
remove_action( 'woocommerce_product_tabs', array( $wcvendors_pro->wcvendors_pro_shipping_controller, 'shipping_panel_tab'), 11, 2 ); | |
remove_action( 'woocommerce_product_meta_start', array( $wcvendors_pro->wcvendors_pro_vendor_controller, 'product_ships_from'), 9 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very usefull, thanks!