Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors

WooCommerceAdminUpdatedRuleProcessor::validate()publicWC 1.0

Validates the rule.

Method of the class: WooCommerceAdminUpdatedRuleProcessor{}

No Hooks.

Return

true|false. Pass/fail.

Usage

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

WooCommerceAdminUpdatedRuleProcessor::validate() code WC 9.1.2

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