Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleProcessorInterface::process()publicWC 1.0

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() code WC 7.1.0

public function process( $rule, $stored_state );