Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors

PassRuleProcessor::process()publicWC 1.0

Passes the rule.

Method of the class: PassRuleProcessor{}

No Hooks.

Return

true|false. Always true.

Usage

$PassRuleProcessor = new PassRuleProcessor();
$PassRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The specific rule being processed by this rule processor.
$stored_state(object) (required)
Stored state.

PassRuleProcessor::process() code WC 9.7.1

public function process( $rule, $stored_state ) {
	return true;
}