Used By
Used By | Description |
---|---|
wp-includes/pluggable.php: wp_generate_auth_cookie() | Generates authentication cookie contents. |
Filters the authentication cookie.
(string) Authentication cookie.
(int) User ID.
(int) The time the cookie expires as a UNIX timestamp.
(string) Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
(string) User's session token used.
Version | Description |
---|---|
4.0.0 | The $token parameter was added. |
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_cookie