Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors
RuleProcessorInterface::process()
Processes a rule, returning the boolean result of the processing.
Method of the class: RuleProcessorInterface{}
No Hooks.
Return
true|false
. The result of the processing.
Usage
$RuleProcessorInterface = new RuleProcessorInterface(); $RuleProcessorInterface->process( $rule, $stored_state );
- $rule(object) (required)
- The rule to process.
- $stored_state(object) (required)
- Stored state.
RuleProcessorInterface::process() RuleProcessorInterface::process code WC 9.8.2
public function process( $rule, $stored_state );