Skip to content

Instantly share code, notes, and snippets.

@lukecav
Forked from LaurenaRehbein/remove_price.php
Last active January 12, 2018 19:40
Show Gist options
  • Save lukecav/f823dd58303c84cf8ae302da3f38c06d to your computer and use it in GitHub Desktop.
Save lukecav/f823dd58303c84cf8ae302da3f38c06d to your computer and use it in GitHub Desktop.
Remove the price string from variable subscription products in WooCommerce
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