Created
February 2, 2016 16:48
-
-
Save bporcelli/5c65b26e95383a891be1 to your computer and use it in GitHub Desktop.
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
| function hide_cart_taxes( $enabled ) { | |
| if ( is_checkout() ) { | |
| return true; | |
| } else { | |
| return false; | |
| } | |
| } | |
| add_filter( 'wc_tax_enabled', 'hide_cart_taxes' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment