apply_filters( 'bp_get_total_favorite_count_for_user', int|bool $retval, int $user_id )

Filters the total favorite count for a user.

Description

Parameters

$retval

Total favorite count for a user. False on no favorites.

$user_id

ID of the queried user.

Source

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