bp_friend_total_requests_count( int $user_id )

Output the total friendship request count for a given user.

Description

See also

Parameters

$user_id

(int) (Required) See {@link bp_friend_get_total_requests_count().

Source

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

function bp_friend_total_requests_count( $user_id = 0 ) {
	echo bp_friend_get_total_requests_count( $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.