bp_media_settings_callback_group_document_support()

Setting > Media > Groups support

Description

Source

File: bp-media/bp-media-settings.php

function bp_media_settings_callback_group_document_support() {
	?>
	<input name="bp_media_group_document_support"
		   id="bp_media_group_document_support"
		   type="checkbox"
		   value="1"
		<?php checked( bp_is_group_document_support_enabled() ); ?>
	/>
	<label for="bp_media_group_document_support">
		<?php
		if( bp_is_active('activity') ) {
			_e( 'Allow members to upload documents in <strong>groups</strong> and <strong>group activity</strong>', 'buddyboss' );
		} else {
			_e( 'Allow members to upload documents in <strong>groups</strong>', 'buddyboss' );
		}
		?>
	</label>
	<?php
}

Changelog

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