user_pass_ok
- user_pass_ok is deprecated since version 3.5.0!
Alternative: wp_authenticate()
user_pass_ok ( $user_login, $user_pass )
Parameters:- (string) user_login User name.
- (string) user_pass User password.
See:Returns:- (bool) False if does not authenticate, true if username and password authenticates.
Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: 3.5.0
Description
Check that the user login name and password is correct.