ACF\Site_Health

AI_Usage::__construct │ public │ ACF 6.8.0

Constructs the class.

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

Хуков нет.

Возвращает

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

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

$AI_Usage = new AI_Usage();
$AI_Usage->__construct( $site_health );
$site_health(Site_Health) (обязательный)
An instance of Site_Health.

Список изменений

С версии 6.8.0 Введена.

Код AI_Usage::__construct() ACF 6.8.11

public function __construct( Site_Health $site_health ) {
	$this->site_health = $site_health;

	add_action( 'init', array( $this, 'init' ) );
}