wp_version_check
wp_version_check ( $extra_stats = array(), $force_check = false )
Parameters:- (array) extra_stats Extra statistics to report to the WordPress.org API.
- (bool) force_check Whether to bypass the transient cache and force a fresh update check. Defaults to false, true if $extra_stats is set.
Defined at: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Checks WordPress version against the newest version.The WordPress version, PHP version, and locale is sent.
Checks against the WordPress server at api.wordpress.org. Will only check
if WordPress isn't installing.