Fires before a particular screen is loaded. The load-* hook fires in a number of contexts. This hook is for core screens. The dynamic portion of the hook name, `$pagenow`, is a global variable referring to the filename of the current screen, such as 'admin.php', 'post-new.php' etc. A complete hook for the latter would be 'load-post-new.php'.
N/A
Sortie :
// Ajouter une fonction au hook action 'load-edit-tags.php'
add_action('load-edit-tags.php', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee() {
// Votre code ici
error_log('Hook load-edit-tags.php déclenché');
}
Chargement des actualités...