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)
  • () user WP_User if the user is authenticated. WP_Error or null otherwise.
    Richiesto: Sì
  • () username Username or email address.
    Richiesto: Sì
  • () password User password.
    Richiesto: Sì
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 );