woocommerce_cart_get_taxes filter-hookWC 1.0

Returns the cart and shipping taxes, merged.

Usage

add_filter( 'woocommerce_cart_get_taxes', 'wp_kama_woocommerce_cart_get_taxes_filter', 10, 2 );

/**
 * Function for `woocommerce_cart_get_taxes` filter-hook.
 * 
 * @param  $wc_array_merge_recursive_numeric 
 * @param  $that                             
 *
 * @return 
 */
function wp_kama_woocommerce_cart_get_taxes_filter( $wc_array_merge_recursive_numeric, $that ){

	// filter...
	return $wc_array_merge_recursive_numeric;
}
$wc_array_merge_recursive_numeric
-
$that
-

Where the hook is called

WC_Cart::get_taxes()
woocommerce_cart_get_taxes
woocommerce/includes/class-wc-cart.php 591
return apply_filters( 'woocommerce_cart_get_taxes', wc_array_merge_recursive_numeric( $this->get_shipping_taxes(), $this->get_cart_contents_taxes(), $this->get_fee_taxes() ), $this );

Where the hook is used in WooCommerce

Usage not found.