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();
	}


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.