Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group ID

  • Hello!

    Im in the road of developing a plugin and since is a bp-group’s extension I really need to use the variable group_id or whatever is called.

    How can I get it?

    Do i need to crate a new function, or… ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Well depends on where ya are and what you are doing.

    But in bp-groups-classes.php is BP_Groups_Group::get_id_from_slug($group_slug)

    I dont get it, please help me as a noob. First time with wp

    Its another bp-component: bp_xxx but works IN groups like forums. I’ve tried to use bp_group_id() (just as wire group) but isnt working.

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

You must be logged in to reply to this topic.