do_action( 'wp_login', string $user_login, WP_User $user )

Fires after the user has successfully logged in.


Parameters

$user_login

Username.

$user

WP_User object of the logged-in user.


Source

File: wp-includes/user.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.