apply_filters( 'bp_friends_get_profile_stats', string $value, array $r )

Filters the number of friends in user’s profile.

Description

Parameters

$value

(string) Formatted string displaying total friends count.

$r

(array) Array of arguments for string formatting and output.

Source

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

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.