atom_ns

ACTION wp-includes\feed-atom.php (ligne 31) github
Fires at end of the Atom feed root to add namespaces.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...