On this page
WP_Debug_Data::check_for_updates()
Calls all core functions to check for updates.
Source
File: wp-admin/includes/class-wp-debug-data.php. View all references
public static function check_for_updates() {
wp_version_check();
wp_update_plugins();
wp_update_themes();
}
Related
Uses
| Uses | Description |
|---|---|
| wp_version_check() wp-includes/update.php | Checks WordPress version against the newest version. |
| wp_update_plugins() wp-includes/update.php | Checks for available updates to plugins based on the latest versions hosted on WordPress.org. |
| wp_update_themes() wp-includes/update.php | Checks for available updates to themes based on the latest versions hosted on WordPress.org. |
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_debug_data/check_for_updates