Title: in_theme_update_message-{$theme_key}
Published: April 25, 2014
Last modified: February 24, 2026

---

# do_action( “in_theme_update_message-{$theme_key}”, WP_Theme $theme, array $response )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#wp--skip-link--target)

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

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#description)󠁿

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#parameters)󠁿

 `$theme`[WP_Theme](https://developer.wordpress.org/reference/classes/wp_theme/)

The [WP_Theme](https://developer.wordpress.org/reference/classes/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.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/update.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/update.php#L839)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/update.php#L839-L839)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_theme_update_row()](https://developer.wordpress.org/reference/functions/wp_theme_update_row/)`wp-admin/includes/update.php` |

Displays update information for a theme.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/in_theme_update_message-theme_key/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.1.0](https://developer.wordpress.org/reference/since/3.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fin_theme_update_message-theme_key%2F)
before being able to contribute a note or feedback.