Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors

RuleProcessorInterface::process │ public │ WC 1.0

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

Метод класса: RuleProcessorInterface{}

Хуков нет.

Возвращает

bool. The result of the processing.

Использование

$RuleProcessorInterface = new RuleProcessorInterface();
$RuleProcessorInterface->process( $rule, $stored_state );
$rule(объект) (обязательный)
The rule to process.
$stored_state(объект) (обязательный)
Stored state.

Код RuleProcessorInterface::process() WC 11.3.0

public function process( $rule, $stored_state );