Automattic\WooCommerce\Admin\RemoteInboxNotifications

WooCommerceAdminUpdatedRuleProcessor::validate()publicWC 1.0

Validates the rule.

{} It's a 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.

Code of WooCommerceAdminUpdatedRuleProcessor::validate() WC 6.6.1

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