WC_Cart::get_total_discount()

Gets the total discount amount.


Description Description


Return Return

(mixed) formatted price or false if there are none


Top ↑

Source Source

File: includes/class-wc-cart.php

	public function get_total_discount() {
		return apply_filters( 'woocommerce_cart_total_discount', $this->get_discount_total() ? wc_price( $this->get_discount_total() ) : false, $this );
	}


Top ↑

User Contributed Notes User Contributed Notes

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