bp_friends_profile_stats( array|string $args = '' )

Display the number of friends in user’s profile.

Description

Parameters

$args

(Optional) before|after|user_id.

Default value: ''

Source

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

function bp_friends_profile_stats( $args = '' ) {
	echo bp_friends_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.