BP_REST_Friends_Endpoint::get_friendship_object( int $friendship_id )

Get friendship object.


Parameters Parameters

$friendship_id

(int) (Required) Friendship ID.


Top ↑

Return Return

(BP_Friends_Friendship)


Source Source

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

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


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.