WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp parse auth cookie

Contents

Description

Parse a cookie into its components

Parameters

$cookie
(string) (optional)
Default:
$scheme
(string) (optional) Optional. The cookie scheme to use: auth, secure_auth, or logged_in
Default:

Return Values

(array) 
Authentication cookie components

Change Log

Since: 2.7

Source File

wp_parse_auth_cookie() is located in wp-includes/pluggable.php