wp_validate_auth_cookie Wordpress function


Description:

Validates authentication cookie.


Syntax:


Arguments:

(string) $cookie Optional. If used, will validate contents instead of cookie's
(string) $scheme Optional. The cookie scheme to use: auth, secure_auth, or logged_in


Return Type:

(bool|int) False if invalid cookie, User ID if valid.


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_validate_auth_cookie


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×