Skip to content

Instantly share code, notes, and snippets.

@MindyPostoff
Last active April 23, 2018 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MindyPostoff/0add508ce8c8d9debf23 to your computer and use it in GitHub Desktop.
Save MindyPostoff/0add508ce8c8d9debf23 to your computer and use it in GitHub Desktop.
Remove WooCommerce Subscriptions Billing Period from Shipping Price String in Cart
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' );
@victoras
Copy link

This is not working.

@vowelau
Copy link

vowelau commented Sep 26, 2015

Any idea on how you could do something similar but remove the free trial string from the cart page?

@sgtpepperaut
Copy link

not working for me. v 1.5x

@mlaungani
Copy link

Does this work? if yes, where do we place this code? Functions.php?

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