wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_login › WordPress Action Hooks

Since1.5.0
Deprecatedn/a
do_action( 'wp_login', $user->user_login, $user )
Parameters: (2)
  • (string) $user_login Username.
    Required: Yes
  • (WP_User) $user WP_User object of the logged-in user.
    Required: Yes
Defined at:
Codex:

Fires after the user has successfully logged in.





Source

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