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