WP_REST_Site_Health_Controller::test_dotorg_communication()
Checks that the site can reach the WordPress.org API.
Метод класса: WP_REST_Site_Health_Controller{}
Хуков нет.
Возвращает
Массив
.
Использование
$WP_REST_Site_Health_Controller = new WP_REST_Site_Health_Controller(); $WP_REST_Site_Health_Controller->test_dotorg_communication();
Список изменений
С версии 5.6.0 | Введена. |
Код WP_REST_Site_Health_Controller::test_dotorg_communication() WP REST Site Health Controller::test dotorg communication WP 6.6.2
public function test_dotorg_communication() { $this->load_admin_textdomain(); return $this->site_health->get_test_dotorg_communication(); }