I want to get a link to the user's profile page, which is in the front end thanks to buddypress, and use that link in the menu.
Each member's profile page has a different url e.g. /members/membername. I can use the function
<?php bp_loggedin_user_domain(); ?> to get that url, however I can't paste this into a custom link in wordpress's menu ui as it strips the tags and white space. Any ideas how else to to this?