Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting friends.

  • Avatar of Mack
    Mack
    Participant

    @nebril

    Hi.

    I need to write a function, which would return friends of current user. Is there some bp function to do it, or should I just get this data directly from database? Also, where can I read format of arguments is bp_has_members()? Maybe there is arg like ‘friends=id’ and I just don’t know it :P.

    Later I will need to write a code to return common friends, but that wouldn’t be big problem when I get answer for question above :).

    Cheers
    Maciej

You must be logged in to reply to this topic.