groups_get_total_member_count( int $group_id )

Get the member count for a group.

Description

Parameters

$group_id

(int) (Required) Group ID.

Return

(int) Count of confirmed members for the group.

Source

File: bp-groups/bp-groups-functions.php

function groups_get_total_member_count( $group_id ) {
	return BP_Groups_Group::get_total_member_count( $group_id );
}

Changelog

Changelog
Version Description
BuddyPress 1.2.3 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.