WordPress at Your Fingertips
filter is not described

woocommerce_cart_total_discount filter-hook . WC 1.0

Gets the total discount amount.

Usage

add_filter( 'woocommerce_cart_total_discount', 'filter_function_name_978', 10, 2 );
function filter_function_name_978( $wc_price(), $that ){
	// filter...

	return $wc_price();
}
$wc_price()
-
$that
-

Where the hook is called

WC_Cart::get_total_discount()
woocommerce_cart_total_discount
woocommerce/includes/class-wc-cart.php 2100
return apply_filters( 'woocommerce_cart_total_discount', $this->get_discount_total() ? wc_price( $this->get_discount_total() ) : false, $this );

Where in WP core the hook is used WooCommerce

Usage not found.