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

Fires after the user has successfully logged in.


Description Description


Parameters Parameters

$user_login

(string) Username.

$user

(WP_User) WP_User object of the logged-in user.


Top ↑

Source Source

File: wp-includes/user.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.