Glossary Term
wp_generate_auth_cookie()
3 tags
1 category
wp_generate_auth_cookie() — Generates authentication cookie contents.
Inputs: $user_id (int): User ID. $expiration (int): The time the cookie expires as a UNIX timestamp. $scheme (string): Optional. The cookie scheme to use: ‘auth’, ‘secure_auth’, or ‘logged_in’. Default ‘auth’. $token (string): User’s session token to use for this cookie.
Returns string: Authentication cookie contents. Empty string if user does not exist.
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…
