WP_Debug_Data::check_for_updatespublic staticWP 5.2.0

Calls all core functions to check for updates.

Method of the class: WP_Debug_Data{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WP_Debug_Data::check_for_updates();

Changelog

Since 5.2.0 Introduced.

WP_Debug_Data::check_for_updates() code WP 7.0.4

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