ActionScheduler_wcSystemStatus::render
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.
Method of the class: ActionScheduler_wcSystemStatus{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ActionScheduler_wcSystemStatus = new ActionScheduler_wcSystemStatus(); $ActionScheduler_wcSystemStatus->render();
ActionScheduler_wcSystemStatus::render() ActionScheduler wcSystemStatus::render code WC 10.8.1
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 );
}