BP_Invitation_Manager::get_invitations( $args = array() )
Get invitations, based on provided filter parameters.
Description
See also
- BP_Invitation::get(): for a description of accepted parameters.
Return
(array) Located invitations.
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 ); }
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.