Created
November 18, 2017 17:10
-
-
Save fervous/2aeac91ae9cbca4f0f2aee856e4aee13 to your computer and use it in GitHub Desktop.
relocate remove move product ships from 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 from product meta start */ | |
remove_action ( 'woocommerce_product_meta_start', array($wcvendors_pro->wcvendors_pro_vendor_controller, 'product_ships_from'), 9 ); | |
/* Add elsewhere (use the hook you wish) */ | |
add_action ( 'woocommerce_before_add_to_cart_form', array($wcvendors_pro->wcvendors_pro_vendor_controller, 'product_ships_from')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment