WordPress at a glance
function is not described

WC_Legacy_Cart::get_cart_discount_total() public WC 1.0

Get the total of all cart discounts.

{} It's a method of the class: WC_Legacy_Cart{}

No Hooks.

Return

float.

Usage

$WC_Legacy_Cart = new WC_Legacy_Cart();
$WC_Legacy_Cart->get_cart_discount_total();

Code of WC_Legacy_Cart::get_cart_discount_total() WC 5.0.0

<?php
public function get_cart_discount_total() {
	return $this->get_discount_total();
}