apply_filters( 'wp_get_update_data', array $update_data, array $titles )

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

Parameters

$update_data

(array) Fetched update data.

  • 'counts'
    (array) An array of counts for available plugin, theme, and WordPress updates.
  • 'update_title'
    (string) Titles of available updates.

$titles

(array) An array of update counts and UI strings for available updates.

Source

File: wp-includes/update.php

View on Trac

Changelog

Version Description
3.5.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_update_data