Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_login ›

Desde1.5.0
Obsoleton/a
do_action( 'wp_login', $user->user_login, $user )
Parâmetros: (2)
  • (string) $user_login Username.
    Required: Yes
  • (WP_User) $user WP_User object of the logged-in user.
    Required: Yes
Definido em:
Codex:

Fires after the user has successfully logged in.





Fonte

do_action( 'wp_login', $user->user_login, $user );