Quick Question – Username variable?
I am creating my first plugin for buddypress.
Is there a variable which is assigned the username of the person logged in.
Something like $bp_current_user or something?
I need to create a link to their profile page, so the link would be something like:
<?php echo “www.example.com/members/”.$bp_current_user.”/profiles”; ?>
Thanks so much for your help
You must be logged in to reply to this topic.