WordPress at a glance
function is not described

get_preferred_from_update_core() WP 1.0

Selects the first update version from the update_core option.

No Hooks.

Return

Object/Array/false. The response from the API on success, false on failure.

Usage

get_preferred_from_update_core();

Code of get preferred from update core: wp-admin/includes/update.php VER 5.1.1

<?php
function get_preferred_from_update_core() {
	$updates = get_core_updates();
	if ( ! is_array( $updates ) ) {
		return false;
	}
	if ( empty( $updates ) ) {
		return (object) array( 'response' => 'latest' );
	}
	return $updates[0];
}