Created
June 12, 2015 12:02
-
-
Save WillBrubaker/509ea81f636132e03feb to your computer and use it in GitHub Desktop.
Increase WooCommerce product prices by 20%
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
add_filter( 'woocommerce_get_price', 'wooninja_price_increase' ); | |
function wooninja_price_increase( $price ) { | |
return $price + ( $price * .2 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment