WC_Cart::get_discount_total()
Get discount_total.
Description Description
Return Return
(float)
Source Source
File: includes/class-wc-cart.php
public function get_discount_total() { return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'discount_total' ) ); }
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |