Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

How to get a number of BuddyPress members, groups, blogs? WordPress


I'd like to display a some stats of my BuddyPress network, therefore, I need to get a number of all members, all groups and all blogs created on that.

Answers (2)


Francisco Javier Carazo Gil answers:

Look at this plugin:

Francisco Javier Carazo Gil comments:

If you want functions look at it:
Members: bp_core_get_total_member_count()
Groups: groups_get_total_group_count()

And blogs is not BuddyPress, this is WP Network:

Blogs: get_blog_count()

Igor comments:

Hi Francisco,

Thank you for your quick reply.



Arnav Joy answers:

// member count
echo bp_get_total_member_count();

//group count
echo $total_count = groups_get_total_group_count();

//blog count

echo $total_count = bp_blogs_total_blogs();

Igor comments:

Thank you! You've been first :)