wp_get_update_data WordPress Filter Hook
The wp_get_update_data hook allows you to access the data returned by the WordPress update API. This data includes information about the latest WordPress versions, changelogs, and release dates.
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.
- 'counts'
- $titles
(array)An array of update counts and UI strings for available updates.
Source
File: wp-includes/update.php
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |