BP_Invitation::__construct( int $id )

Constructor method.


Description Description


Parameters Parameters

$id

(Optional) Provide an ID to access an existing invitation item.


Top ↑

Source Source

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

	public function __construct( $id = 0 ) {
		if ( ! empty( $id ) ) {
			$this->id = (int) $id;
			$this->populate();
		}
	}

Top ↑

Changelog 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.