Skip to content

Instantly share code, notes, and snippets.

@bentasm1
Forked from digitalchild/functions.php
Created May 11, 2016 21:50
Show Gist options
  • Save bentasm1/3d4595eb9aefac268113320470dd46e7 to your computer and use it in GitHub Desktop.
Save bentasm1/3d4595eb9aefac268113320470dd46e7 to your computer and use it in GitHub Desktop.
WC Vendors Pro - Remove shipping panel from single product page
/* WC Vendors Pro - Remove shipping panel from single product page */
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