bp_groups_profile_stats( array|string $args = '' )

Display the number of groups in user’s profile.

Description

Parameters

$args

(array|string) (Optional) before|after|user_id

Default value: ''

Source

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

function bp_groups_profile_stats( $args = '' ) {
	echo bp_groups_get_profile_stats( $args );
}

Changelog

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