WooCommerce Code Reference

NoteStatusRuleProcessor
in package
implements RuleProcessorInterface

Rule processor that compares against the status of another note.

Interfaces, Classes and Traits

RuleProcessorInterface
Rule processor interface

Table of Contents

process()  : bool
Compare against the status of another note.
validate()  : bool
Validates the rule.

Methods

process()

Compare against the status of another note.

public process(object $rule, object $stored_state) : bool
Parameters
$rule : object

The rule being processed by this rule processor.

$stored_state : object

Stored state.

Return values
boolThe result of the operation.