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:

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.

Related Functions

wp_terms_checklist, wp_verify_nonce, is_wp_version_compatible, wp_kses_version, ms_site_check

Top Google Results

User discussions

wpseek mobile