wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



authenticate › Filtr WordPress Hooks

Od4.5.0
Przestarzałyn/a
› apply_filters( 'authenticate', null, $username, $password )
Parametry: (3)
  • () user WP_User if the user is authenticated. WP_Error or null otherwise.
    Wymagane: Tak
  • () username Username or email address.
    Wymagane: Tak
  • () password User password.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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