Skip to:
Content
Pages
Categories
Search
Top
Bottom

Renaming Group Tabs

  • @dcavins

    Keymaster

    @r-a-y Long ago (Original thread: http://tinyurl.com/7h6cgld ) you posted some code about modifying the names of the group tabs:

    function avatar_change_bp_groups_submenu() {
    global $bp;
    $bp->bp_options_nav = 'Activity';
    }
    add_action('wp', 'avatar_change_bp_groups_submenu');

    A similar function works fine for modifying the profile menu

    function avatar_change_profile_tab_names() {
    global $bp;
    $bp->bp_options_nav = 'Change Photo';
    }
    add_action( 'bp_setup_nav', 'avatar_change_profile_tab_names', 999 );

    But the groups menu version doesn’t appear to work any more. Can you advise?

    Using BP 1.5.3.1/WP 3.3.1/MAMP testing setup.

  • The topic ‘Renaming Group Tabs’ is closed to new replies.
Skip to toolbar