auth_cookie_expired

ACTION wp-includes\pluggable.php (ligne 825) github
Fires once an authentication cookie has expired.

Paramètres

Entrée :
$cookie_elements
Sortie :
@param string[] $cookie_elements {

Utilisation

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

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

Actualités

Chargement des actualités...