Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,019
- How-to & Troubleshooting
- 129,642
- Creating & Extending
- 25,793
- Requests & Feedback
- 9,497
- Third Party Plugins
- 9,792
- Showcase
- 3,316
- Ideas
- 1,382
- Miscellaneous
- 9,179
-
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.