wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



authenticate › WordPress Filter Hooks

Da4.5.0
Deprecaton/a
apply_filters( 'authenticate', null, $username, $password )
Parametri: (3)
  • (null|WP_User|WP_Error) $user WP_User if the user is authenticated. WP_Error or null otherwise.
    Richiesto:
  • (string) $username Username or email address.
    Richiesto:
  • (string) $password User password.
    Richiesto:
Definito a:
Codex:

Filters whether a set of user login credentials are valid.

A WP_User object is returned if the credentials authenticate a user. WP_Error or null otherwise.





Sorgenti

$user = apply_filters( 'authenticate', null, $username, $password );