wp_version_check ( $extra_stats = array(), $force_check = false )

  • (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:


Check WordPress version against the newest version.

The WordPress version, PHP version, and Locale is sent. Checks against the WordPress server at api.wordpress.org server. Will only check if WordPress isn't installing.

Related Functions

wp_terms_checklist, wp_verify_nonce, _wp_json_sanity_check, wp_kses_version, is_wp_version_compatible

Top Google Results

User discussions

wpseek mobile