WC_Product_Attribute::set_options
Set options.
Method of the class: WC_Product_Attribute{}
No Hooks.
Returns
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() WC Product Attribute::set options code WC 10.5.0
public function set_options( $value ) {
$this->data['options'] = $value;
}