WP_REST_Site_Health_Controller::test_https_status() WordPress Method
The WP_REST_Site_Health_Controller::test_https_status() method is used to test the https status of a site. This is useful for troubleshooting https problems on a site.
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(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |