Reply To: Hidden groups in “All groups” tab
Hi,
The button is in /bp-legacy/buddypress/groups/index.php:19
Make a copy of that file to your child-theme. (child-theme/buddypress/groups/index.php)
Than you can remove the code or add a condition. For example, only the site admin will see All Groups.
<?php if ( is_site_admin() ): ?>
<li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count() ); ?></a></li>
<?php endif; ?>