WooCommerce Code Reference

WC_Queue
in package

WC Queue

Singleton for managing the WC queue instance.

Tags
version
3.5.0

Table of Contents

$default_cass  : string
The default queue class to initialize
$instance  : WC_Queue_Interface|null
The single instance of the queue.
instance()  : WC_Queue_Interface
Single instance of WC_Queue_Interface
get_class()  : string
Get class to instantiate
validate_instance()  : WC_Queue_Interface
Enforce a WC_Queue_Interface

Properties

Methods

get_class()

Get class to instantiate

protected static get_class() : string

And make sure 3rd party code has the chance to attach a custom queue class.

Return values
string