woocommerce_cart_tax_totals

woocommerce_cart_tax_totals

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_cart_tax_totals') is found 1 times:

  • /includes/class-wc-cart.php line 903
    			$amounts    = array_filter( wp_list_pluck( $tax_totals, 'amount' ) );
    			$tax_totals = array_intersect_key( $tax_totals, $amounts );
    		}
    
    		return apply_filters( 'woocommerce_cart_tax_totals', $tax_totals, $this );
    	}
    
    	/**
    	 * Get all tax classes for items in the cart.
    	 *
    	 * @return array