title: Remove the Activity Tab from the buddypress profile page
body: <p>I am trying to remove the “Activity” tab from the navigation bar on the member profile page. I have been searching for a solution for days. While pasting the following code in child theme functions.php seems to work for other users, when I do so i am getting the following error:</p>
  
  <p>Code i used:</p>
  
  <pre><code>     function bphelp_remove_groups_from_profile(){
       bp_core_remove_nav_item(‘activity’);
       }
       add_action(‘bp_activity_setup_nav’,’bphelp_remove_groups_from_profile’);
  </code></pre>
  
  <p>Error message:</p>
  
  <p>” This is somewhat embarrassing, isn’t it?
  It seems we can’t find what you’re looking for. Perhaps searching can help.”</p>
  
  <p>Link to the error page:</p>
  
  <p><a href="http://yvannasr.com/members/ron/" rel="nofollow">http://yvannasr.com/members/ron/</a></p>
  
  <p>FYI – i have also tried pasting this into my bp-custom.php but its giving me the same error. Could anyone help me out with this please ?</p>
  
  <p>Many thanks,
  Yvan</p>