WP_REST_Site_Health_Controller::test_background_updates()publicWP 5.6.0

Checks if background updates work as expected.

Method of the class: WP_REST_Site_Health_Controller{}

No Hooks.

Return

Array.

Usage

$WP_REST_Site_Health_Controller = new WP_REST_Site_Health_Controller();
$WP_REST_Site_Health_Controller->test_background_updates();

Changelog

Since 5.6.0 Introduced.

WP_REST_Site_Health_Controller::test_background_updates() code WP 6.1.1

public function test_background_updates() {
	$this->load_admin_textdomain();
	return $this->site_health->get_test_background_updates();
}