WC_Product_Attribute::set_options()
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() WC Product Attribute::set options code WC 9.4.2
public function set_options( $value ) { $this->data['options'] = $value; }