Fires at the end of the update message container in each row of the plugins list table. The dynamic portion of the hook name, `$file`, refers to the path of the plugin's primary file relative to the plugins directory.
$plugin_data, $response
Sortie :
@param array $plugin_data An array of plugin metadata. See get_plugin_data()
@param object $response {
// Ajouter une fonction au hook action 'in_plugin_update_message-{$file}'
add_action('in_plugin_update_message-{$file}', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($plugin_data, $response) {
// Votre code ici
error_log('Hook in_plugin_update_message-{$file} déclenché');
}
Chargement des actualités...