Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get the group home slug by it’s id ?


  • Florent
    Participant

    @frappi

    Hello,

    I’m trying to get the group home slug whatever the group menu the member is. For example if the member visit groupes/bb/send-invites I would like /groupes/bb

    None of these try return what I need, any idea ?

    
    $bp->bp_options_nav[$bp->groups->current_group->slug]['home']['name']
    $group->true_slug
    bp_get_group_slug($group->id)
    bp_get_current_group_slug($group->id)
    bp_group_slug($group->id)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to get the group home slug by it’s id ?’ is closed to new replies.
Skip to toolbar