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)


Top ↑

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();
	}


Top ↑

Changelog

Changelog
VersionDescription
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.