Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • mushfick
    Participant

    @mushfick

    Thanks chouf1 for your suggestions,

    I found what I was actually looking for in buddypress/bp-friends/bp-friends-loader.php

    Line 97:

    `

    $main_nav = array(
    ‘name’                => sprintf( __( ‘Friends %d’, ‘buddypress’ ), friends_get_total_friend_count() ),
    ‘slug’                => $this->slug,
    ‘position’            => 60,
    ‘screen_function’     => ‘friends_screen_my_friends’,
    ‘default_subnav_slug’ => ‘my-friends’,
    ‘item_css_id’         => $bp->friends->id
    );

    `

    `‘name’                => sprintf( __( ‘Friends %d’, ‘buddypress’ ), friends_get_total_friend_count() )`

    So I’m just going to substitute my function for friends_get_total_friend_count().

    Leaving this here in case somebody else ever wants to find this out as well.


    mushfick
    Participant

    @mushfick

    Oh and btw I’m using WordPress 3.5.1 and BuddyPress 1.7
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar