wp_authenticate Wordpress function


Description:

Checks a user's login information and logs them in if it checks out.


Syntax:


Arguments:

(string) $username User's username
(string) $password User's password


Return Type:

(WP_Error|WP_User) WP_User object if login successful, otherwise WP_Error object.


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

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


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