WC_Product_Usage_Rule_Set::__constructpublicWC 1.0

Constructor

Method of the class: WC_Product_Usage_Rule_Set{}

No Hooks.

Returns

null. Nothing (null).

Usage

$WC_Product_Usage_Rule_Set = new WC_Product_Usage_Rule_Set();
$WC_Product_Usage_Rule_Set->__construct( $rules );
$rules(array) (required)
product feature restriction rules.

WC_Product_Usage_Rule_Set::__construct() code WC 10.4.3

public function __construct( $rules ) {
	$this->rules = $rules;
}