Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

victoras commented Nov 13, 2014

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

sgtpepperaut commented Oct 2, 2015

not working for me. v 1.5x

@mlaungani
Copy link

mlaungani commented Apr 23, 2018

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