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:
  • (array|false) Authentication cookie components.
Defined at:

Description

Parses a cookie into its components.

Related Functions

wp_set_auth_cookie, wp_clear_auth_cookie, wp_validate_auth_cookie, wp_generate_auth_cookie, wp_setcookie

Top Google Results

User discussions

wpseek mobile