ActionScheduler_wcSystemStatus::render()publicWC 1.0

Display action data, including number of actions grouped by status and the oldest & newest action in each status.

Helpful to identify issues, like a clogged queue.

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_wcSystemStatus = new ActionScheduler_wcSystemStatus();
$ActionScheduler_wcSystemStatus->render();

Код ActionScheduler_wcSystemStatus::render() WC 8.7.0

public function render() {
	$action_counts     = $this->store->action_counts();
	$status_labels     = $this->store->get_status_labels();
	$oldest_and_newest = $this->get_oldest_and_newest( array_keys( $status_labels ) );

	$this->get_template( $status_labels, $action_counts, $oldest_and_newest );
}