woocommerce_cart_total_discount, $this->get_discount_total(

woocommerce_cart_total_discount, $this->get_discount_total(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_cart_total_discount, $this->get_discount_total(') is found 1 times:

  • /includes/class-wc-cart.php line 2453
    	 *
    	 * @return mixed formatted price or false if there are none
    	 */
    	public function get_total_discount() {
    		return apply_filters( 'woocommerce_cart_total_discount', $this->get_discount_total() ? wc_price( $this->get_discount_total() ) : false, $this );
    	}
    
    	/**
    	 * Reset cart totals to the defaults. Useful before running calculations.
    	 *
    	 * @return void