apply_filters( 'bp_get_total_friend_count', int $value, int $user_id )

Filters the total friend count for a given user.

Description

Parameters

$value

(int) Total friend count.

$user_id

(int) ID of the queried user.

Source

File: bp-friends/bp-friends-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.