WPDev.one
Core Function
View Source on Trac ↗

wp_version_check()

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

Checks WordPress version against the newest version.

Parameters 1 required

Name / Type Description
$extra_stats
array

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.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.3.0
Source File
wp-includes/update.php
Advertisement