WPDev.one
Core Function
View Source on Trac ↗

get_preferred_from_update_core()

get_preferred_from_update_core( )

Selects the first update version from the update_core option.

Return Value

((object)
| array | false) The response from the API on success, false on failure.

Function Information

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