wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



authenticate › Les Filtres WordPress

Depuis4.5.0
Dépréciéen/a
apply_filters( 'authenticate', null, $username, $password )
Paramètres: (3)
  • (null|WP_User|WP_Error) $user WP_User if the user is authenticated. WP_Error or null otherwise.
    Requis: Oui
  • (string) $username Username or email address.
    Requis: Oui
  • (string) $password User password.
    Requis: Oui
Défini(e) dans:
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.





Source

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