ACF\Site_Health
AI_Usage::__construct
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() 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' ) );
}