wp_parse_auth_cookie
wp_parse_auth_cookie ( $cookie = '', $scheme = '' )
Parameters:- (string) cookie Authentication cookie.
- (string) scheme Optional. The cookie scheme to use: 'auth', 'secure_auth', or 'logged_in'.
Returns:- (string[]|false) Authentication cookie components.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Parses a cookie into its components.