woocommerce_cart_discounts_before_tax

woocommerce_cart_discounts_before_tax

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cart_discounts_before_tax') is found 1 times:

  • /includes/legacy/class-wc-legacy-cart.php line 402
    			$discounts_before_tax = wc_price( $this->get_cart_discount_total() );
    		} else {
    			$discounts_before_tax = false;
    		}
    		return apply_filters( 'woocommerce_cart_discounts_before_tax', $discounts_before_tax, $this );
    	}
    
    	/**
    	 * Get the total of all order discounts (after tax discounts).
    	 *
    	 * @deprecated 2.3.0 Order discounts (after tax) removed in 2.3.