Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // fill in $user_id with the user ID you want to do your check for.
- $count = bp_follow_total_follow_counts( 'user_id=' . $user_id );
- // following count is:
- echo $count['following'];
- // follower coutn is:
- echo $count['followers'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement