BP_Invitation_Manager::get_by_id( int $id )

Get a specific invitation by its ID.

Description

Parameters

$id

(Required) ID of the invitation.

Return

(BP_Invitation) object

Source

File: bp-core/classes/class-bp-invitation-manager.php

	public function get_by_id( $id = 0 ) {
		return new BP_Invitation( $id );
	}

Changelog

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