WordPress at Your Fingertips
function is not described

WC_Product_Attribute::set_name() public WC 1.0

Set name (this is the attribute name or taxonomy).

{} It's a method of the class: WC_Product_Attribute{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Product_Attribute = new WC_Product_Attribute();
$WC_Product_Attribute->set_name( $value );
$value(int) (required)
Attribute name.

Code of WC_Product_Attribute::set_name() WC 5.7.1

public function set_name( $value ) {
	$this->data['name'] = $value;
}