Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors
FailRuleProcessor::validate()
Validates the rule.
Метод класса: FailRuleProcessor{}
Хуков нет.
Возвращает
true|false
. Pass/fail.
Использование
$FailRuleProcessor = new FailRuleProcessor(); $FailRuleProcessor->validate( $rule );
- $rule(объект) (обязательный)
- The rule to validate.
Код FailRuleProcessor::validate() FailRuleProcessor::validate WC 9.3.3
public function validate( $rule ) { return true; }