bp_media_settings_callback_group_media_support()
Setting > Media > Groups support
Description
Source
File: bp-media/bp-media-settings.php
function bp_media_settings_callback_group_media_support() { ?> <input name="bp_media_group_media_support" id="bp_media_group_media_support" type="checkbox" value="1" <?php checked( bp_is_group_media_support_enabled() ); ?> /> <label for="bp_media_group_media_support"> <?php _e( 'Allow members to upload photos in <strong>groups</strong>', 'buddyboss' ) ?> </label> <br/> <input name="bp_media_group_albums_support" id="bp_media_group_albums_support" type="checkbox" value="1" <?php echo ! bp_is_group_media_support_enabled() ? 'disabled="disabled"' : ''; ?> <?php checked( bp_is_group_albums_support_enabled() ); ?> /> <label for="bp_media_group_albums_support"> <?php _e( 'Enable Albums', 'buddyboss' ) ?> </label> <?php }
Changelog
Version | Description |
---|---|
BuddyBoss 1.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.