WC_Order_Item_Tax::set_name()publicWC 1.0

Set order item name.

Метод класса: WC_Order_Item_Tax{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Order_Item_Tax = new WC_Order_Item_Tax();
$WC_Order_Item_Tax->set_name( $value );
$value(строка) (обязательный)
Name.

Код WC_Order_Item_Tax::set_name() WC 8.7.0

public function set_name( $value ) {
	$this->set_rate_code( $value );
}