WP_Debug_Data::check_for_updates() WordPress Method
The WP_Debug_Data::check_for_updates() method is used to check if there are any updates available for the WordPress installation. This includes checking the WordPress core, plugins, and themes.
WP_Debug_Data::check_for_updates() #
Calls all core functions to check for updates.
Source
File: wp-admin/includes/class-wp-debug-data.php
public static function check_for_updates() {
wp_version_check();
wp_update_plugins();
wp_update_themes();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |