bp_get_members_invitations_allowed()
Are users allowed to invite users to join this site?
Return Return
(bool)
Source Source
File: bp-members/bp-members-template.php
function bp_get_members_invitations_allowed() { /** * Filters whether or not community invitations are allowed. * * @since 8.0.0 * * @param bool $allowed Whether or not community invitations are allowed. */ return apply_filters( 'bp_get_members_invitations_allowed', bp_is_active( 'members', 'invitations' ) && (bool) bp_get_option( 'bp-enable-members-invitations' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |