Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,806
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,510
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
Thanks Nicola Greco!
I knew there had to be a better solution, something like this, but couldn’t put it together.
So I replaced that database line with this:
$uid = get_userdata($user_id);
$email = $uid->user_email;
Works fine.