Change Subscription “Sign-up Fee” String

Easily change the Sign-up Fee wording associated with WooCommerce Subscriptions.

function change_subscription_product_string( $subscription_string, $product, $include ) {
    if( $include['sign_up_fee'] ){
        $subscription_string = str_replace('sign-up fee', 'Any text here', $subscription_string);
    }
    return $subscription_string;
}
add_filter( 'woocommerce_subscriptions_product_price_string', 'change_subscription_product_string', 10, 3 );

Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.