friends_is_friendship_confirmed( int $friendship_id )

Has a friendship been confirmed (accepted)?

Parameters Parameters


(int) (Required) The ID of the friendship being checked.

Top ↑

Return Return

(bool) True if the friendship is confirmed, otherwise false.

Source Source

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

function friends_is_friendship_confirmed( $friendship_id ) {
	$friendship = new BP_Friends_Friendship( $friendship_id );
	return $friendship->is_confirmed;

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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