bp_nouveau_groups_disallow_all_members_invites( bool $default = false )
Can all members be invited to join any group?
Description Description
Parameters Parameters
- $default
-
(Optional) False to allow. True to disallow.
Default value: false
Return Return
(bool)
Source Source
File: bp-templates/bp-nouveau/includes/groups/functions.php
function bp_nouveau_groups_disallow_all_members_invites( $default = false ) {
/**
* Filter to remove the All members nav, returning true
*
* @since 3.0.0
*
* @param bool $default True to disable the nav. False otherwise.
*/
return apply_filters( 'bp_nouveau_groups_disallow_all_members_invites', $default );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |