WP_REST_Site_Health_Controller::test_dotorg_communication() – Checks that the site can reach the WordPress.org API.

You appear to be a bot. Output may be restricted

Description

Checks that the site can reach the WordPress.org API.

Usage

$array = WP_REST_Site_Health_Controller::test_dotorg_communication();

Parameters

Returns

array

Source

File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
Lines:

1 to 4 of 4
  public function test_dotorg_communication() {
    $this->load_admin_textdomain();
    return $this->site_health->get_test_dotorg_communication();
  }
 

 View on GitHub View on Trac