Core Function
View Source on Trac ↗ wp_login()
wp_login( mixed $username, mixed $password, mixed $deprecated = '' ) Checks a users login information and logs them in if it checks out. This function is deprecated.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $username string | User's username Required |
| $password string | User's password Required |
| $deprecated string | Not used |
Return Value
(bool)
True on successful check, false on login failure.
Function Information
Since Version
1.2.2
Source File
wp-includes/pluggable-deprecated.php
Advertisement