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

Filters the total favorite count for a user.


Description Description


Parameters Parameters

$retval

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

$user_id

ID of the queried user.


Top ↑

Source Source

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


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.