woocommerce_cart_discounts_before_tax filter-hookWC 1.0

Usage

add_filter( 'woocommerce_cart_discounts_before_tax', 'wp_kama_woocommerce_cart_discounts_before_tax_filter', 10, 2 );

/**
 * Function for `woocommerce_cart_discounts_before_tax` filter-hook.
 * 
 * @param  $discounts_before_tax 
 * @param  $that                 
 *
 * @return 
 */
function wp_kama_woocommerce_cart_discounts_before_tax_filter( $discounts_before_tax, $that ){

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

Where the hook is called

WC_Legacy_Cart::get_discounts_before_tax()
woocommerce_cart_discounts_before_tax
woocommerce/includes/legacy/class-wc-legacy-cart.php 402
return apply_filters( 'woocommerce_cart_discounts_before_tax', $discounts_before_tax, $this );

Where the hook is used in WooCommerce

Usage not found.