WordPress at Your Fingertips
function is not described

WC_Product_Attribute::set_options() public WC 1.0

Set options.

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

Code of WC_Product_Attribute::set_options() WC 5.6.0

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