ACF\Site_Health

AI_Usage::__constructpublicACF 6.8.0

Constructs the class.

Method of the class: AI_Usage{}

No Hooks.

Returns

null. Nothing (null).

Usage

$AI_Usage = new AI_Usage();
$AI_Usage->__construct( $site_health );
$site_health(Site_Health) (required)
An instance of Site_Health.

Changelog

Since 6.8.0 Introduced.

AI_Usage::__construct() code ACF 6.8.8

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

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