user_pass_ok


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:

Description

Check that the user login name and password is correct.

Related Functions

reset_password, user_can, wp_set_password, _save_post_hook, use_codepress

Top Google Results

User discussions

wpseek mobile