authenticate
最后更新于:2021-11-25 20:34:35
apply_filters( ‘authenticate’, null|GC_User|GC_Error $user, string $username, string $password )
Filters whether a set of user login credentials are valid.
参数
- $user
-
(null|GC_User|GC_Error)
GC_User if the user is authenticated. GC_Error or null otherwise. - $username
-
(string)
Username or email address. - $password
-
(string)
User password
源文件
文件: gc-includes/pluggable.php