Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Show number of friends within members loop bp_the_site_member_total_friend_count


buzz2050
Participant

@buzz2050

No, this function does not take any parameters from what I know. It is supposed to work as is. But it doesn’t in my case either. Not sure why.

This is the workaround that I am using in my members-loop which does seem to work:

‘global $site_members_template ;

$frndCnt = friends_get_friend_count_for_user($site_members_template->member->id) ;

echo $frndCnt ;’

-Sib

Skip to toolbar