WC_Order_Item_Product::get_tax_class() public WC 1.0
Get tax class.
{} Это метод класса: WC_Order_Item_Product{}
Хуков нет.
Возвращает
Строку.
Использование
$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'.
Код WC_Order_Item_Product::get_tax_class() WC Order Item Product::get tax class WC 5.0.0
public function get_tax_class( $context = 'view' ) {
return $this->get_prop( 'tax_class', $context );
}