Show number of friends within members loop bp_the_site_member_total_friend_count
I’m trying to display the number of friends a user has within the members loop.
I found this function “bp_the_site_member_total_friend_count()” which appears to be the appropriate way (at least it’s listed next to other members loop functions http://bp-dev.org/phpxref/nav.html?_functions/index.html ). However, it doesn’t output anything.
Do I have to pass an argument while calling that function (ID of the user didn’t work) or what am I doing wrong?
- The topic ‘Show number of friends within members loop bp_the_site_member_total_friend_count’ is closed to new replies.