bp_admin_setting_callback_group_cover_image_uploads()
‘Enable group cover photos’ field markup.
Description
Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_admin_setting_callback_group_cover_image_uploads() { ?> <input id="bp-disable-group-cover-image-uploads" name="bp-disable-group-cover-image-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_group_cover_image_uploads() ); ?> /> <label for="bp-disable-group-cover-image-uploads"><?php _e( 'Allow group organizers to upload cover photos', 'buddyboss' ); ?></label> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 2.4.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.