Return the url of the logged in user’s profile

When creating or editing your BuddyPress theme you may want to add a link to the user profile adding this function to the theme will display a URL to the users profile. In the second snippet you will see the function used to display a link to the users profile.

Code Snippet:


Code Snippet:

<a href=''<?php bp_loggedinuser_link() ?>''>My Profile</a>

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!