WordPress at a glance
filter is not described

wp_get_update_data filter-hook . WP 3.5.0

Filters the returned array of update data for plugins, themes, and WordPress core.


add_filter( 'wp_get_update_data', 'filter_function_name_2899', 10, 2 );
function filter_function_name_2899( $update_data, $titles ){
	// filter...

	return $update_data;

Fetched update data.

  • $counts (array)
    An array of counts for available plugin, theme, and WordPress updates.

  • $update_title (string)
    Titles of available updates.
An array of update counts and UI strings for available updates.


Since 3.5.0 Introduced.

Where the hook is called

wp-includes/update.php 721
return apply_filters( 'wp_get_update_data', $update_data, $titles );

Where in WP core the hook is used

Usage not found!