Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cart_subtotal_func_unset( $total ) {
- print_r($total);
- unset($totals['cart_subtotal']);
- return $totals;
- }
- add_filter('woocommerce_cart_item_subtotal', 'cart_subtotal_func_unset', 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement