bp_admin_setting_callback_group_creation()
Allow all users to create groups field.
Description Description
Source Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_admin_setting_callback_group_creation() { ?> <input id="bp_restrict_group_creation" name="bp_restrict_group_creation" type="checkbox" aria-describedby="bp_group_creation_description" value="1" <?php checked( !bp_restrict_group_creation( false ) ); ?> /> <label for="bp_restrict_group_creation"><?php _e( 'Enable group creation for all users', 'buddypress' ); ?></label> <p class="description" id="bp_group_creation_description"><?php _e( 'Administrators can always create groups, regardless of this setting.', 'buddypress' ); ?></p> <?php }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |