Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to remove the price string from variable subscription products
* Function to remove the variable subscription price string
* Add this to your child theme's functions.php file.
function wc_remove_var_subscriptions_price() {
return '';
add_filter( 'woocommerce_variable_subscription_price_html', 'wc_remove_var_subscriptions_price' );
Copy link

bmixtacki commented Feb 18, 2020

Hi, I used this on a site of mine and I was wondering if you had the code to remove the price string from all subscriptions?

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