Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claudiosanches/2735ed2c5f001ad86de6 to your computer and use it in GitHub Desktop.
Save claudiosanches/2735ed2c5f001ad86de6 to your computer and use it in GitHub Desktop.
WooCommerce Correios - Move the WooCommerce Correios shipping product simulator
<?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