WooCommerce Code Reference

OrderCountRuleProcessor
in package
implements RuleProcessorInterface

Rule processor for publishing based on the number of orders.

Interfaces, Classes and Traits

RuleProcessorInterface
Rule processor interface

Table of Contents

$orders_provider  : OrdersProvider
The orders provider.
__construct()  : mixed
Constructor.
process()  : bool
Process the rule.
validate()  : bool
Validates the rule.

Properties

Methods