activate_wp_head

ACTION wp-activate.php (ligne 92) github
Fires within the `<head>` section of the Site Activation page. Fires on the {@see 'wp_head'} action.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...