Fires after the is_user_logged_in() check in the comment form.
$commenter, $user_identity
Sortie :
@param array $commenter An array containing the comment author's @param string $user_identity If the commenter is a registered user,
// Ajouter une fonction au hook action 'comment_form_logged_in_after'
add_action('comment_form_logged_in_after', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($commenter, $user_identity) {
// Votre code ici
error_log('Hook comment_form_logged_in_after déclenché');
}
Chargement des actualités...