Filters the returned array of update data for plugins, themes, and WordPress core.
Parameters
$update_dataarray
{ Fetched update data. @type int[] $counts An array of counts for available plugin, theme, and WordPress updates. @type string $update_title Titles of available updates.}
$countsint[]
An array of counts for available plugin, theme, and WordPress updates.
$update_titlestring
Titles of available updates.
$titlesarray
An array of update counts and UI strings for available updates.
986*987* @type int[]$counts An array of counts for available plugin, theme,and WordPress updates.988* @type string$update_title Titles of available updates.989*}990* @param array$titles An array of update counts andUI strings for available updates.991*/992returnapply_filters('wp_get_update_data',$update_data,$titles);993}994995/**996* Determines whether core should be updated.997*998* @since 2.8.0
History
Introduced in 3.5.0. Unchanged from 6.7.7 through 7.1.0.