check wp_login into a plugin

Well, you get user data in global $current_user variable only when a user is online or in other words, this is the data of currently logged user. I think the problem is not with the hook or data, but with your insert code. It should be like this: // You get two parameters, 2nd param … Read more