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