Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleProcessorInterface::processpublicWC 1.0

Processes a rule, returning the boolean result of the processing.

Method of the class: RuleProcessorInterface{}

No Hooks.

Returns

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 10.6.2

public function process( $rule, $stored_state );