WC_Order_Item_Coupon::get_discount_tax()
Get discounted tax amount.
Метод класса: WC_Order_Item_Coupon{}
Хуков нет.
Возвращает
Строку
.
Использование
$WC_Order_Item_Coupon = new WC_Order_Item_Coupon(); $WC_Order_Item_Coupon->get_discount_tax( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код WC_Order_Item_Coupon::get_discount_tax() WC Order Item Coupon::get discount tax WC 9.7.1
public function get_discount_tax( $context = 'view' ) { return $this->get_prop( 'discount_tax', $context ); }