remove_filter Woocommerce
-
Dear all,
Using Woocommerce Product Bundles, which sets a filter in the shopping cart:
In plugins\woocommerce-product-bundles\includes\class-wc-pb-display.php:// Modify titles. add_filter( 'woocommerce_cart_item_name', array( $this, 'cart_item_title' ), 10, 3 );In a plugin, I want to remove this filter in a certain condition:
remove_filter( 'woocommerce_cart_item_name', array( 'WC_PB_Display', 'cart_item_title' ), 10, 3 );This however, is not working. I have no idea how to debug this. Can someone point me in the right direction?
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘remove_filter Woocommerce’ is closed to new replies.