Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,489
- How-to & Troubleshooting
- 127,653
- Creating & Extending
- 25,623
- Requests & Feedback
- 9,375
- Third Party Plugins
- 9,703
- Showcase
- 3,317
- Ideas
- 1,319
- Miscellaneous
- 8,825
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS