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