WP_REST_Site_Health_Controller::test_dotorg_communication() WordPress Method
The WP_REST_Site_Health_Controller::test_dotorg_communication() method is used to test communication with the WordPress.org servers. This is important for ensuring that your site can connect to WordPress.org and receive updates and information.
WP_REST_Site_Health_Controller::test_dotorg_communication() #
Checks that the site can reach the WordPress.org API.
Return
(array)
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
public function test_dotorg_communication() { $this->load_admin_textdomain(); return $this->site_health->get_test_dotorg_communication(); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |