wp-admin/includes/update.php:629Retrieves themes with updates available.
WP_Theme[]function get_theme_updates() { $current = get_site_transient( 'update_themes' ); if ( ! isset( $current->response ) ) { return array(); } $update_themes = array(); foreach ( $current->response as $stylesheet => $data ) { $update_themes[ $stylesheet ] = wp_get_theme( $stylesheet ); $update_themes[ $stylesheet ]->update = $data; } return $update_themes;}Introduced in 2.9.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
WP_Theme[] to array<string,.verified against sourcearray to WP_Theme[].verified against sourcesrc/wp-admin/includes/update.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.