WC_Product_Attribute::set_options()publicWC 1.0

Set options.

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_options( $value );
$value(array) (required)
Attribute options.

WC_Product_Attribute::set_options() code WC 8.7.0

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