WC_Abstract_Order::get_discount_total( string $context = 'view' )
Get discount_total.
Description Description
Parameters Parameters
- $context
-
(Optional) View or edit context.
Default value: 'view'
Return Return
(string)
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_discount_total( $context = 'view' ) { return $this->get_prop( 'discount_total', $context ); }