Replies
Hi Ravi, question again I was wondering how to hide the members tab per name of the group…
I’m trying on this code but it does not work on my end.
add_action( ‘groups_setup_nav’, function () {
$specialgroup = array(“Test Group”,”Test Group 1″); //or group IDs or group names
if ( bp_get_group_name($specialgroup)) {
return;
}bp_core_remove_subnav_item( bp_get_current_group_slug(), ‘members’, ‘groups’ );
} );Wondering if you can enlighten or help me with code above? Thank you very much again!
Hi Ravi thanks for the reply please check the screenshot
https://prnt.sc/1sxxstmSomehow, I want to hide the group under secret group type in my profile -> group tab.
Thank you!
Hi Ravi, sorry for the confusion.
So here is my scenario.
I have a group type called SECRET is there a way to hide the groups under the group type of secret? Even if the members are already joined the reason to hide these groups are solely for group messaging purposes only.
Hoping this can help you understand the scenario.
Thanks in advance
Thanks for the response Ravi, unfortunately the code won’t work.
As of now my current setting of this secret group is in privacy hidden with the group type of secret. Also I’m using the buddyboss pro plugin
Is it possible to hide this secret group from the members, not for super admin and organizers? Sorry for asking too much =(