bp_friend_friendship_id()

Output the ID of the friendship between the logged-in user and the current user in the loop.

Description

Source

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

function bp_friend_friendship_id() {
	echo bp_get_friend_friendship_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.