Last active
April 23, 2018 13:40
-
-
Save MindyPostoff/0add508ce8c8d9debf23 to your computer and use it in GitHub Desktop.
Remove WooCommerce Subscriptions Billing Period from Shipping Price String in Cart
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 wc_remove_recurrence_label() { | |
remove_filter( 'woocommerce_cart_shipping_method_full_label', 'WC_Subscriptions_Cart::get_cart_shipping_method_full_label', 11, 2 ); | |
} | |
add_action( 'init', 'wc_remove_recurrence_label' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this work? if yes, where do we place this code? Functions.php?