Renaming Group tabs
-
Each group has tabs for “Home” “Forum” “Members” etc.
I want to rename the “Home” for all groups to “Activity” instead of “Home”
I assume this is to be done via functions.php
Can someone perhaps give me some idea as to what I would need to put in the functions.php file to rename this?
I’ve tried this:
/**Function to change the group tab from home to activity **/ function group_default_tab() { global $bp; $bp->bp_options_nav[$bp->groups->current_group->slug]['Home']['name'] = 'Activity'; } add_action('bp_groups_setup_nav', 'group_default_tab');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.