bp_admin_setting_callback_group_avatar_uploads

'Enable group avatars' field markup.

Description

bp_admin_setting_callback_group_avatar_uploads(); 

Usage

  1. if ( !function_exists( 'bp_admin_setting_callback_group_avatar_uploads' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/admin/bp-core-admin-settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_admin_setting_callback_group_avatar_uploads(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/admin/bp-core-admin-settings.php  
  1. function bp_admin_setting_callback_group_avatar_uploads() { 
  2. ?> 
  3. <input id="bp-disable-group-avatar-uploads" name="bp-disable-group-avatar-uploads" type="checkbox" value="1" <?php checked( ! bp_disable_group_avatar_uploads() ); ?> /> 
  4. <label for="bp-disable-group-avatar-uploads"><?php _e( 'Allow customizable avatars for groups', buddypress ); ?></label> 
  5. <?php