welcome_panel

ACTION wp-admin\_index.php (ligne 198) github
Fires when adding content to the welcome panel on the admin dashboard. To remove the default welcome panel, use remove_action():     remove_action( 'welcome_panel', 'wp_welcome_panel' );

Paramètres

Entrée :
N/A
Sortie :
N/A

Utilisation

// Ajouter une fonction au hook action 'welcome_panel'
add_action('welcome_panel', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee() {
    // Votre code ici
    error_log('Hook welcome_panel déclenché');
}

Actualités

Chargement des actualités...