W3cubDocs

/WordPress

WP_Site_Health_Auto_Updates::__construct()

WP_Site_Health_Auto_Updates constructor.

Source

File: wp-admin/includes/class-wp-site-health-auto-updates.php

public function __construct() {
		require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
	}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_site_health_auto_updates/__construct