Skip to content

Instantly share code, notes, and snippets.

@woogists
Created March 9, 2018 16:41
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 woogists/ea908c498d479c9cb70609fd8d859e39 to your computer and use it in GitHub Desktop.
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.
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