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.
1015*1016* @type int[]$counts An array of counts for available plugin, theme,and WordPress updates.1017* @type string$update_title Titles of available updates.1018*}1019* @param array$titles An array of update counts andUI strings for available updates.1020*/1021returnapply_filters('wp_get_update_data',$update_data,$titles);1022}10231024/**1025* Determines whether core should be updated.1026*1027* @since 2.8.0
History
Introduced in 3.5.0. Unchanged from 6.7.7 through 7.1.0.