WP_Debug_Data::check_for_updates()

Calls all core functions to check for updates.

Source

File: wp-admin/includes/class-wp-debug-data.php

static function check_for_updates() {
		wp_version_check();
		wp_update_plugins();
		wp_update_themes();
	}

Changelog

Version Description
5.2.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_debug_data/check_for_updates