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.

$titles

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


Top ↑

Source

File: wp-includes/update.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.