Warning: This method has been deprecated. Order discounts (after tax) removed in 2.3 instead.
WC_Legacy_Cart::get_order_discount_total()
Get the total of all order discounts (after tax discounts).
Description Description
Return Return
(int)
Source Source
File: includes/legacy/class-wc-legacy-cart.php
public function get_order_discount_total() {
wc_deprecated_function( 'get_order_discount_total', '2.3' );
return 0;
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |