bp_admin_setting_callback_avatar_uploads()
Allow members to upload avatars field.
Description
Source
File: bp-core/admin/bp-core-admin-settings.php
function bp_admin_setting_callback_avatar_uploads() { ?> <input id="bp-disable-avatar-uploads" name="bp-disable-avatar-uploads" type="checkbox" value="1" <?php checked( !bp_disable_avatar_uploads( false ) ); ?> /> <label for="bp-disable-avatar-uploads"><?php _e( 'Allow members to upload profile avatars', 'buddyboss' ); ?></label> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.