WP_REST_Site_Health_Controller::test_https_status()publicWP 5.7.0

Checks that the site's frontend can be accessed over HTTPS.

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

Хуков нет.

Возвращает

Массив.

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

$WP_REST_Site_Health_Controller = new WP_REST_Site_Health_Controller();
$WP_REST_Site_Health_Controller->test_https_status();

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

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

Код WP_REST_Site_Health_Controller::test_https_status() WP 6.5.2

public function test_https_status() {
	$this->load_admin_textdomain();
	return $this->site_health->get_test_https_status();
}