Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_authenticate_user ›

Desde2.5.0
Obsoleton/a
apply_filters( 'wp_authenticate_user', $user, $password )
Parâmetros: (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
Definido em:
Codex:

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





Fonte

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