Hot answers tagged

3 votes

Can I Get User ID at Login?

As stated in the documentation, The $current_user global may not be available at the time this filter is run. So you should use the $user global or the $user parameter passed to this filter. ...
user avatar
  • 6,005
1 vote

How to make a user be able to register if such a login already exists?

First for the usernames, you already have the answer: you can’t make the usernames the same, while you can make the username hidden for the user during registration, and set automatically, for ...
user avatar
  • 53.4k

Only top scored, non community-wiki answers of a minimum length are eligible