WP_Debug_Data::check_for_updates()public staticWP 5.2.0

Calls all core functions to check for updates.

Method of the class: WP_Debug_Data{}

No Hooks.

Return

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 6.5.2

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