Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function wc_subscriptions_custom_price_string( $pricestring ) {
$pricestring = str_replace( 'every 3 months', 'per season', $pricestring );
$pricestring = str_replace( 'sign-up fee', 'initial payment', $pricestring );
return $pricestring;
add_filter( 'woocommerce_subscriptions_product_price_string', 'wc_subscriptions_custom_price_string' );
add_filter( 'woocommerce_subscription_price_string', 'wc_subscriptions_custom_price_string' );

This comment has been minimized.

Copy link

@de-b de-b commented Mar 14, 2017

Hi is there anyway to change price now, then into plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment