Last active
August 29, 2015 14:01
-
-
Save claudiosanches/2735ed2c5f001ad86de6 to your computer and use it in GitHub Desktop.
WooCommerce Correios - Move the WooCommerce Correios shipping product simulator
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
<?php | |
/** | |
* Move the WooCommerce Correios shipping product simulator. | |
*/ | |
remove_action( 'woocommerce_single_product_summary', array( 'WC_Correios_Product_Shipping_Simulator', 'simulator' ), 45 ); | |
add_action( 'woocommerce_single_product_summary', array( 'WC_Correios_Product_Shipping_Simulator', 'simulator' ), 25 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment