ACF\Site_Health

AI_Usage::get_default_usage_structureprivateACF 6.8.0

Get the default log data structure.

Method of the class: AI_Usage{}

No Hooks.

Returns

Array.

Usage

// private - for code of main (parent) class only
$result = $this->get_default_usage_structure(): array;

Changelog

Since 6.8.0 Introduced.

AI_Usage::get_default_usage_structure() code ACF 6.8.8

private function get_default_usage_structure(): array {
	return array(
		'total_executions'      => 0,
		'error_count'           => 0,
		'last_execution_at'     => null,
		'executions_by_ability' => array(),
	);
}