WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about auth_cookie

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 884 /**
* Filters the authentication cookie.
*
* @since 2.5.0
* @since 4.0.0 The `$token` parameter was added.
*
* @param string $cookie Authentication cookie.
* @param int $user_id User ID.
* @param int $expiration The time the cookie expires as a UNIX timestamp.
* @param string $scheme Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
* @param string $token User's session token used.
*/

Hook Parameters

Parameter Type Name Description
string $cookie Malformed auth cookie.
string $scheme Authentication scheme. Values include 'auth', 'secure_auth',