WooCommerceAdminUpdatedRuleProcessor
in package
implements
RuleProcessorInterface
Rule processor for sending when WooCommerce Admin has been updated.
Interfaces, Classes and Traits
- RuleProcessorInterface
- Rule processor interface
Table of Contents
- process() : bool
- Process the rule.
- validate() : bool
- Validates the rule.
Methods
process()
Process the rule.
public
process(object $rule, object $stored_state) : bool
Parameters
- $rule : object
-
The specific rule being processed by this rule processor.
- $stored_state : object
-
Stored state.
Return values
bool — Whether the rule passes or not.validate()
Validates the rule.
public
validate(object $rule) : bool
Parameters
- $rule : object
-
The rule to validate.