I simply want to add some php in as a custom link in the wordpress menu section. The code I want to use is <?php bp_loggedin_user_domain(); ?> which will generate that logged in user's buddypress profile page url. However, when I paste that in as a custom links, wp removes the opening and closing tags and removes all the white space.
Any ideas?