Last active
February 18, 2020 04:18
-
-
Save MindyPostoff/8d999ac0bea83a44d487 to your computer and use it in GitHub Desktop.
How to remove the price string from variable subscription products
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 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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?