WC_Order_Item_Fee::get_taxes()
Get fee taxes.
Метод класса: WC_Order_Item_Fee{}
Хуков нет.
Возвращает
Массив
.
Использование
$WC_Order_Item_Fee = new WC_Order_Item_Fee(); $WC_Order_Item_Fee->get_taxes( $context );
- $context(строка)
- What the value is for. Valid values are 'view' and 'edit'.
По умолчанию: 'view'
Код WC_Order_Item_Fee::get_taxes() WC Order Item Fee::get taxes WC 8.7.0
public function get_taxes( $context = 'view' ) { return $this->get_prop( 'taxes', $context ); }