Fires in uninstall_plugin() once the plugin has been uninstalled. The action concatenates the 'uninstall_' prefix with the basename of the plugin passed to uninstall_plugin() to create a dynamically-named action.
N/A
Sortie :
// Ajouter une fonction au hook action 'uninstall_{$file}'
add_action('uninstall_{$file}', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook uninstall_{$file} déclenché');
}
Chargement des actualités...