On this page
WP_Site_Health_Auto_Updates::__construct()
WP_Site_Health_Auto_Updates constructor.
Source
File: wp-admin/includes/class-wp-site-health-auto-updates.php. View all references
public function __construct() {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Site_Health::get_test_background_updates() wp-admin/includes/class-wp-site-health.php | Tests if WordPress can run automated background updates. |
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_site_health_auto_updates/__construct