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