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

Filters the total friend count for a given user.


Parameters Parameters

$value

(int) Total friend count.

$user_id

(int) ID of the queried user.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added the $user_id parameter.
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.