groups_get_invites( array $args = array() )

Get invitations to a given group filtered by arguments.


Parameters Parameters

$group_id

(int) (Required) ID of the group.

$args

(array) (Optional) Invitation arguments. See BP_Invitation::get() for list.

Default value: array()


Top ↑

Return Return

(array) $invites Matching BP_Invitation objects.


Source Source

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

function groups_get_invites( $args = array() ) {
	$invites_class = new BP_Groups_Invitation_Manager();
	return $invites_class->get_invitations( $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.