Support » Fixing WordPress » Getting user id from username?

  • I know how to get user information from user id, but how to get user id from username? I tried something like $userid(user) but no joy. I need this because I’m trying to add gravatrs to wp-useronline -plugin which has username implementation but not user email. If this is not possible, then is it possible to get user email from username?

    Thanks in advance.

    Rolle

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Getting user id from username?’ is closed to new replies.