wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_authenticate_user › WordPress过滤钩子

Since2.5.0
已弃用n/a
apply_filters( 'wp_authenticate_user', $user, $password )
参数: (2)
  • (WP_User|WP_Error) $user WP_User or WP_Error object if a previous callback failed authentication.
    Required: Yes
  • (string) $password Password to check against the user.
    Required: Yes
定义在:
文档:

Filters whether the given user can be authenticated with the provided password.





源码

$user = apply_filters( 'wp_authenticate_user', $user, $password );