title: How to display element only on the page of the loggedin user of Buddypress?
body: <p>I have a Wordpress website running Buddypres. I want to add a link [EDIT] for the user to edit his profile.</p>
  
  <p>But when I put my code, it appears not only on the profile of the logged in user but when he visit the profile of other, it appears too ! </p>
  
  <p>Is there a way to display the link only on the logged in user's profile ? </p>
  
  <p>Here is the code I try to show :</p>
  
  <pre><code>&lt;a href="&lt;?php echo bp_loggedin_user_domain(); ?&gt;profile/edit"&gt;[EDIT]&lt;/a&gt;
  </code></pre>