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


Top ↑

Return Return

(bool)


Top ↑

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 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.