Created
March 9, 2018 16:41
-
-
Save woogists/ea908c498d479c9cb70609fd8d859e39 to your computer and use it in GitHub Desktop.
[Australia Post] If you need to adjust tax rate, you can add the following snippet.
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
add_filter( 'woocommerce_shipping_australia_post_tax_rate' , 'woocommerce_shipping_australia_post_custom_tax_rate' ); | |
/** | |
* Adjust tax rate | |
* | |
* @access public | |
* @since 1.0 | |
* @return void | |
*/ | |
function woocommerce_shipping_australia_post_custom_tax_rate() { | |
return '0.09090909'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment