atom_head

ACTION wp-includes\feed-atom.php (ligne 49) github
Fires just before the first Atom feed entry.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...