Glossary Term
wp_parse_auth_cookie()
wp_parse_auth_cookie() — Parses a cookie into its components.
Inputs: $cookie (string): Authentication cookie. $scheme (string): Optional. The cookie scheme to use: ‘auth’, ‘secure_auth’, or ‘logged_in’.
Returns string[]|false: Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value. If the cookie value is malformed, false is returned. Field $username (string): User’s username. Field $expiration (string): The time the cookie expires as a UNIX timestamp. Field $token (string): User’s session token used. Field $hmac (string): The security hash for the cookie. Field $scheme (string): The cookie scheme to use.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
