Created
August 6, 2015 10:08
-
-
Save woogist/fb02f7b1752c2c53773d 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 wc_subscriptions_custom_price_string( $pricestring ) { | |
$newprice = str_replace( 'every 3 months', 'per season', $pricestring ); | |
return $newprice; | |
} | |
add_filter( 'woocommerce_subscriptions_product_price_string', 'wc_subscriptions_custom_price_string' ); | |
add_filter( 'woocommerce_subscription_price_string', 'wc_subscriptions_custom_price_string' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment