WC_Order_Item_Shipping::get_taxes
Get taxes.
Метод класса: WC_Order_Item_Shipping{}
Хуков нет.
Возвращает
Массив.
Использование
$WC_Order_Item_Shipping = new WC_Order_Item_Shipping(); $WC_Order_Item_Shipping->get_taxes( $context );
- $context(строка)
- View or edit context.
По умолчанию: 'view'
Код WC_Order_Item_Shipping::get_taxes() WC Order Item Shipping::get taxes WC 10.3.4
public function get_taxes( $context = 'view' ) {
return $this->get_prop( 'taxes', $context );
}