Problem with removing filter and action
-
Hey guys,
I have some trouble with removing the following:
add_action( ‘woocommerce_email_after_order_table’, array( $this, ’email_after_order_table’ ), 10, 2 );
add_filter( ‘woocommerce_get_order_item_totals’, array( $this, ‘order_item_totals’ ), 10, 2 );I tried (for removing the filter):
remove_filter( ‘woocommerce_get_order_item_totals’, array( $this, ‘order_item_totals’ ), 10, 2 );
remove_filter( ‘woocommerce_get_order_item_totals’, ‘order_item_totals’, 10, 2 );
remove_filter( ‘woocommerce_get_order_item_totals’, ‘order_item_totals’, 10 );
remove_filter( ‘woocommerce_get_order_item_totals’, ‘order_item_totals’);But nothing works..
Any idea wat i’m doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Problem with removing filter and action’ is closed to new replies.