WC_Product_Attribute::set_name
Set name (this is the attribute name or taxonomy).
Метод класса: WC_Product_Attribute{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->set_name( $value );
- $value(строка) (обязательный)
- Attribute name.
Код WC_Product_Attribute::set_name() WC Product Attribute::set name WC 11.1.0
public function set_name( $value ) {
$this->data['name'] = $value;
}