SHARE
TWEET

Untitled

a guest Jan 26th, 2012 52 Never
  1. // fill in $user_id with the user ID you want to do your check for.
  2. $count = bp_follow_total_follow_counts( 'user_id=' . $user_id );
  3.  
  4. // following count is:
  5. echo $count['following'];
  6.  
  7. // follower coutn is:
  8. echo $count['followers'];
RAW Paste Data
Top