apply_filters( 'bp_get_total_group_count_for_user', int $count, int $user_id )

Filters the total number of groups a user belongs to.

Description

Parameters

$count

(int) Total number of groups for the user.

$user_id

(int) ID of the user being checked.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.2.0 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.