bp_group_member_count( object|bool $group = false )

Output the “x members” count string for a group.


Parameters Parameters

$group

(object|bool) (Optional) Group object. Default: current group in loop.

Default value: false


Source Source

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

function bp_group_member_count( $group = false ) {
	echo bp_get_group_member_count( $group );
}


Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Adds the $group optional parameter.
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.