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