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.
$theme, $response
Sortie :
@param WP_Theme $theme The WP_Theme object.
@param array $response {
// Ajouter une fonction au hook action 'in_theme_update_message-{$theme_key}'
add_action('in_theme_update_message-{$theme_key}', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($theme, $response) {
// Votre code ici
error_log('Hook in_theme_update_message-{$theme_key} déclenché');
}
Chargement des actualités...