wordpress / latest / hooks / in_theme_update_message-theme_key.html

do_action( "in_theme_update_message-{$theme_key}", WP_Theme $theme, array $response )

Fires at the end of the update message container in each row of the themes list table.

Description

The dynamic portion of the hook name, $theme_key, refers to the theme slug as found in the WordPress.org themes repository.

Parameters

$theme WP_Theme
The WP_Theme object.
$response array
An array of metadata about the available theme update.
  • new_versionstring
    New theme version.
  • urlstring
    Theme URL.
  • packagestring
    Theme update package URL.

Source

File: wp-admin/includes/update.php. View all references

do_action( "in_theme_update_message-{$theme_key}", $theme, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Used By

Used By Description

Changelog

Version Description
3.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key