Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,781
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
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
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS