auth_cookie_malformed WordPress Action Hook

The auth_cookie_malformed hook is triggered when an authentication cookie is malformed. This hook can be used to take action when an authentication cookie is malformed. For example, you might want to log an error or redirect the user to a login page.

do_action( 'auth_cookie_malformed', string $cookie, string $scheme ) #

Fires if an authentication cookie is malformed.


Parameters

$cookie

(string)Malformed auth cookie.

$scheme

(string)Authentication scheme. Values include 'auth', 'secure_auth', or 'logged_in'.


Top ↑

Source

File: wp-includes/pluggable.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More