WordPress at a glance
function is not described


NotRuleProcessor::process() public WC 1.0

Evaluates the rules in the operand and negates the result.

{} It's a method of the class: NotRuleProcessor{}

No Hooks.


true|false. The result of the operation.


$NotRuleProcessor = new NotRuleProcessor();
$NotRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The specific rule being processed by this rule processor.
$stored_state(object) (required)
Stored state.

Code of NotRuleProcessor::process() WC 5.2.2

public function process( $rule, $stored_state ) {
	$evaluated_operand = $this->rule_evaluator->evaluate(

	return ! $evaluated_operand;