ACF\Site_Health

Site_Health::update_site_healthpublicACF 6.3

Updates the site health information.

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

Хуков нет.

Возвращает

true|false.

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

$Site_Health = new Site_Health();
$Site_Health->update_site_health( $data ): bool;
$data(массив)
An array of site health information to update.
По умолчанию: array()

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

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

Код Site_Health::update_site_health() ACF 6.4.2

public function update_site_health( array $data = array() ): bool {
	return update_option( $this->option_name, wp_json_encode( $data ), false );
}