WP_REST_Site_Health_Controller::test_background_updates
Checks if background updates work as expected.
Метод класса: WP_REST_Site_Health_Controller{}
Хуков нет.
Возвращает
Массив.
Использование
$WP_REST_Site_Health_Controller = new WP_REST_Site_Health_Controller(); $WP_REST_Site_Health_Controller->test_background_updates();
Список изменений
| С версии 5.6.0 | Введена. |
Код WP_REST_Site_Health_Controller::test_background_updates() WP REST Site Health Controller::test background updates WP 7.0.3
public function test_background_updates() {
$this->load_admin_textdomain();
return $this->site_health->get_test_background_updates();
}