Created
January 2, 2017 23:03
-
-
Save WPprodigy/d8cc49ac9ebbf0c8afe36b724ed1360a to your computer and use it in GitHub Desktop.
Remove order delivery area and add it back in at an earlier priority
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
add_action( 'wp', 'wc_ninja_test' ); | |
function wc_ninja_test() { | |
$main_instance = WC_OD(); | |
$checkout_class = $main_instance->checkout(); | |
remove_action( 'woocommerce_checkout_shipping', array( $checkout_class, 'checkout_content' ), 99 ); | |
add_action( 'woocommerce_checkout_shipping', array( $checkout_class, 'checkout_content' ), 15 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment