in_theme_update_message-(theme_key) action-hook . WP 3.1.0
Fires at the end of the update message container in each row of the themes list table.
The dynamic portion of the hook name, $theme_key
, refers to the theme slug as found in the WordPress.org themes repository.
Usage
add_action( 'in_theme_update_message-(theme_key)', 'action_function_name_6657', 10, 2 ); function action_function_name_6657( $theme, $response ){ // action... }
- $theme(WP_Theme)
- The WP_Theme object.
- $response(array)
An array of metadata about the available theme update.
-
$new_version (string)
New theme version. -
$url (string)
Theme URL. - $package (string)
Theme update package URL.
-
Where the hook is called
in_theme_update_message-(theme_key)
wp-admin/includes/update.php 626
do_action( "in_theme_update_message-{$theme_key}", $theme, $response );