Customize Group Admin subnavigation
-
I’d like to leave some of the group administration duties up to site admins instead of group admins. My first thought was to only show the subnav tabs to site admins using this approach:
if ( !( current_user_can('update_plugins') ) ) { bp_core_remove_subnav_item( bp_get_current_group_slug(),'send-invites'); }
However, the group admin menu seems to be created differently than other navigation pieces (some of the items are hardcoded, others have to be created by plugins). Does anyone know of a way to conditionally modify the group admin menu?
Thanks for your help,
-David
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Customize Group Admin subnavigation’ is closed to new replies.