bp_total_favorite_count_for_user( int $user_id )

Output the total favorite count for a specified user.

Description

See also

Parameters

$user_id

(int) (Required) See bp_get_total_favorite_count_for_user().

Source

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

function bp_total_favorite_count_for_user( $user_id = 0 ) {
	echo bp_get_total_favorite_count_for_user( $user_id );
}

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.