bp_nouveau_groups_disallow_all_members_invites( bool $default = false )

Can all members be invited to join any group?

Description

Parameters

$default

(bool) (Optional) False to allow. True to disallow.

Default value: false

Return

(bool)

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 BuddyPress 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
BuddyPress 3.0.0 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.