BP_Invitation_Manager::get_by_id( int $id )

Get a specific invitation by its ID.

Parameters Parameters


(int) (Required) ID of the invitation.

Top ↑

Return Return

(BP_Invitation) object

Source Source

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

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

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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