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)


Top ↑

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;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.