I dug around a bit and managed to find a way for me to prevent anyone other than the site admin from seeing the tab once in the group management section, which isn’t exactly what I was looking for, but will suffice.
The issue I’m now running into is that, even though I have removed the forum options (slugged “topic” in BuddyBoss) using the code below, the group creation still goes to that slug when clicking the “Next” button and now displays a blank screen. Any chance someone could point out what I’m missing from my code to skip that step completely?
function remove_group_creation_steps() {
global $bp;
unset( $bp->groups->group_creation_steps['topic'] );
unset( $bp->groups->group_creation_steps['forum'] );
}
add_action( 'bp_before_create_group_content_template', 'remove_group_creation_steps', 9999 );