WP_REST_Site_Health_Controller::test_background_updates() WordPress Method
The WP_REST_Site_Health_Controller::test_background_updates() method is used to test whether the site can perform background updates.
WP_REST_Site_Health_Controller::test_background_updates() #
Checks if background updates work as expected.
Return
(array)
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
public function test_background_updates() {
$this->load_admin_textdomain();
return $this->site_health->get_test_background_updates();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |