bp_admin_setting_callback_group_hide_subgroups()

‘Hide subgroups from Groups Directory & Group Type Shortcode field markup.

Description

Source

File: bp-core/admin/bp-core-admin-settings.php

function bp_admin_setting_callback_group_hide_subgroups() {
	?>
    <input id="bp-enable-group-hide-subgroups" name="bp-enable-group-hide-subgroups" type="checkbox" value="1" <?php checked( bp_enable_group_hide_subgroups() ); ?> />
    <label for="bp-enable-group-hide-subgroups"><?php _e( 'Hide subgroups from Groups Directory & Group Type Shortcode', 'buddyboss' ); ?></label>
	<?php
}

Changelog

Changelog
Version Description
BuddyBoss 1.5.1 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.