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

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_kses_version, _wp_json_sanity_check, wp_auth_check

Top Google Results

User discussions

wpseek mobile