package | BackPress |
---|
WP_Users($db)
__construct($db)
_put_user($args = null
)
delete_user($user_id)
get_user($user_id= 0
, $args= null
)
is_email($email)
new_user($args = null
)
sanitize_nicename($slug)
sanitize_user($user_login, $strict = false
)
set_password(string $password, integer $user_id)
For integration with other applications, this function can be overwritten to instead use the other package password checking algorithm.
since | 2.5 |
---|---|
uses | Used to encrypt the user's password before passing to the database |
string
The plaintext new user password
integer
User ID
update_user($ID, $args = null
)
$db