BP_REST_Friends_Endpoint::get_friendship_object( int $friendship_id )

Get friendship object.

Description

Parameters

$friendship_id

(int) (Required) Friendship ID.

Return

(BP_Friends_Friendship)

Source

File: bp-friends/classes/class-bp-rest-friends-endpoint.php

	public function get_friendship_object( $friendship_id ) {
		return new BP_Friends_Friendship( $friendship_id );
	}

Changelog

Changelog
Version Description
0.1.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.