BP_Invitation_Manager::delete( $args )
Delete an invitation or invitations by query data.
Description
See also
- BP_Invitation::delete: for a description of arguments.
Return
(int|bool) Number of rows deleted on success, false on failure.
Source
File: bp-core/classes/class-bp-invitation-manager.php
public function delete( $args ) { if ( empty( $args['type'] ) ) { $args['type'] = 'invite'; } $args['class'] = $this->class_name; return BP_Invitation::delete( $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.