Hidden means hidden, specially on the group directory.
Only members who belonging to such groups can see it, and ONLY on their profile -> my groups
I’m sorry to reopen this topic but as all my groups are hidden, there is a useless “All groups” tab for users.
How to hide the group directory for registered users?
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; ?>