Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Found the solution! It was written up in the documentation! HERE
For my needs, I filtered based on roles like so:
function my_remove_activity_menu(){
if (current_user_can('special_role'))
{
global $wp_admin_bar;
$wp_admin_bar->remove_menu('my-account-activity');
}
}
add_action('bp_setup_admin_bar', 'my_remove_activity_menu',301);
Good luck everyone.