public check ( string $password, string $hash, string | integer $user_id = '' ) : boolean | ||
$password | string | Plaintext user's password |
$hash | string | Hash of the user's password to check against. |
$user_id | string | integer | Optional. User ID. |
return | boolean | False, if the $password does not match the hashed password |