WC_Product_Usage_Rule_Set::__construct()publicWC 1.0

Constructor

Method of the class: WC_Product_Usage_Rule_Set{}

No Hooks.

Return

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 9.4.2

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