Fires if an authentication cookie is malformed.
$cookie, $scheme
Sortie :
@param string $cookie Malformed auth cookie. @param string $scheme Authentication scheme. Values include 'auth', 'secure_auth',
// Ajouter une fonction au hook action 'auth_cookie_malformed'
add_action('auth_cookie_malformed', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($cookie, $scheme) {
// Votre code ici
error_log('Hook auth_cookie_malformed déclenché');
}
Chargement des actualités...