bp_get_group_total_for_member()

Get the group count for the displayed user.

Description

Return

(string)

Source

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

3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
function bp_get_group_total_for_member() {
 
    /**
     * FIlters the group count for a displayed user.
     *
     * @since BuddyPress 1.1.0
     *
     * @param int $value Total group count for a displayed user.
     */
    return apply_filters( 'bp_get_group_total_for_member', BP_Groups_Member::total_group_count() );
}

Changelog

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