Online users widget – get user description.
BuddyPress whos online widget only shows avatars of those online.
Im wondering if its possible to get users description along side the image?
If yes, how and whats the correct code?
Something like this but for every user.
<?php $user_meta = get_userdata(bp_displayed_user_id());echo($user_meta->description);?>
- You must be logged in to reply to this topic.