rss2_head

ACTION wp-includes\feed-rss2.php (ligne 83) github
Fires at the end of the RSS2 Feed Header.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...