WP_REST_Site_Health_Controller::test_https_status()
Checks that the site’s frontend can be accessed over HTTPS.
Return
(array)
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
public function test_https_status() {
$this->load_admin_textdomain();
return $this->site_health->get_test_https_status();
} Changelog
| Version | Description |
|---|---|
| 5.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_site_health_controller/test_https_status