WC_Product_Attribute::set_name()
Set name (this is the attribute name or taxonomy).
Method of the class: WC_Product_Attribute{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Product_Attribute = new WC_Product_Attribute(); $WC_Product_Attribute->set_name( $value );
- $value(string) (required)
- Attribute name.
WC_Product_Attribute::set_name() WC Product Attribute::set name code WC 9.4.2
public function set_name( $value ) { $this->data['name'] = $value; }