Getting friends.
-
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 .
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
- The topic ‘Getting friends.’ is closed to new replies.