bp_total_group_count_for_user( int $user_id )

Output the total number of groups a user belongs to.

Parameters Parameters


(int) (Required) User ID to get group membership count.

Source Source

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

function bp_total_group_count_for_user( $user_id = 0 ) {
	echo bp_get_total_group_count_for_user( $user_id );

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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