BP_Invitation_Manager::get_invitations( $args = array() )

Get invitations, based on provided filter parameters.


Description Description

See also See also


Top ↑

Return Return

(array) Located invitations.


Top ↑

Source Source

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

	public function get_invitations( $args = array() ) {
		// Default to returning invitations, not requests.
		if ( empty( $args['type'] ) ) {
			$args['type'] = 'invite';
		}
		// Use the class_name property value.
		$args['class'] = $this->class_name;

		return BP_Invitation::get( $args );
	}


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.