This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 26th, 2012  |  syntax: None  |  size: 0.23 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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'];
clone this paste RAW Paste Data