Snippet Buddypress

Buddypress Logged-In User Profile Link URL

<?php bp_loggedinuser_link() ?>

Returns the url of the logged user’s profile e.g.

<p>You can check out your <a href="<?php bp_loggedinuser_link() ?>"><u>profile here</u></a>.</p>

Source: https://buddypress.org/support/topic/logged-in-user-profile-link-url/