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



wp_authenticate_user › Les Filtres WordPress

Depuis2.5.0
Dépréciéen/a
apply_filters( 'wp_authenticate_user', $user, $password )
Paramètres: (2)
  • (WP_User|WP_Error) $user WP_User or WP_Error object if a previous callback failed authentication.
    Requis: Oui
  • (string) $password Password to check against the user.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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