BP_Invitation_Manager::delete_requests( $args )
Delete a request or requests 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_requests( $args ) { $args['type'] = 'request'; return $this->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.