bp_admin_setting_callback_avatar_uploads()
Allow members to upload avatars field.
Description Description
Source 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 registered members to upload avatars', 'buddypress' ); ?></label> <?php }
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Setting has been moved into the Members section. |
1.6.0 | Introduced. |