Automattic\WooCommerce\Admin\RemoteInboxNotifications

PassRuleProcessor::validate()publicWC 1.0

Validates the rule.

Method of the class: PassRuleProcessor{}

No Hooks.

Return

true|false. Pass/fail.

Usage

$PassRuleProcessor = new PassRuleProcessor();
$PassRuleProcessor->validate( $rule );
$rule(object) (required)
The rule to validate.

PassRuleProcessor::validate() code WC 7.1.0

public function validate( $rule ) {
	return true;
}