ActionScheduler_QueueCleaner::__construct()publicWC 1.0

ActionScheduler_QueueCleaner constructor.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$ActionScheduler_QueueCleaner = new ActionScheduler_QueueCleaner();
$ActionScheduler_QueueCleaner->__construct( $store, $batch_size );
$store(ActionScheduler_Store)
The store instance.
По умолчанию: null
$batch_size(int)
The batch size.
По умолчанию: 20

Код ActionScheduler_QueueCleaner::__construct() WC 8.7.0

public function __construct( ActionScheduler_Store $store = null, $batch_size = 20 ) {
	$this->store = $store ? $store : ActionScheduler_Store::instance();
	$this->batch_size = $batch_size;
}