Try bp_loggedinuser_link() for now
Thank you, this works for now… I tried a google search to figure out if it is possible to edit the link text; I want to publish the text ‘edit profile’ and not the actual profile name. Unfortunately, google does not know.
If you know, please let me know.
I put this in my functions.php:
function bp_loggedin_user_profile_link() {
global $bp;?>
<a href=”‘. $bp->loggedin_user->domain . ‘” title=”profile”><?php _e( ‘My Profile’, ‘buddypress’ ) ?></a>
<?php return;
}
You can change the link text to whatever you want, I chose to use one buddypress translates by default.
NOTE: using bp_ prefixed functions may later cause collisions.