WPDev.one
Core Function
View Source on Trac ↗

find_core_update()

find_core_update( mixed $version, mixed $locale )

Finds the available update for WordPress core.

Parameters 2 required

Name / Type Description
$version
string

Version string to find the update for.

Required
$locale
string

Locale to find the update for.

Required

Return Value

((object)
| false) The core update offering on success, false on failure.

Function Information

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