How to remove a filter?
-
i need to remove this filter from your cart.php:
add_filter('woocommerce_cart_item_product', array($this, 'translateCartItemProduct'), 10, 2);
How do i access it? this won’t work:
remove_filter(woocommerce_cart_item_product', array("cart", 'translateCartItemProduct'));
I don’t want to change your core files. Therefore any help is appreciated!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to remove a filter?’ is closed to new replies.