BP_Invitation_Manager::allow_invitation( array $args )
This is where custom actions are added (in child classes) to determine whether an invitation should be allowed.
Description Description
Parameters Parameters
- $args
-
(Required) The parameters describing the invitation.
Return Return
(bool) True if allowed, false to end process.
Source Source
File: bp-core/classes/class-bp-invitation-manager.php
public function allow_invitation( $args ) { return true; }
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |