function custom_bp_datebox($html, $type, $day, $month, $year, $field_id, $date) {
if($type == 'year'){
$html = '';
for ( $i = 2015; $i > 2010; $i-- ) {
$html .= '';
}
}
return $html;
}
add_filter( 'bp_get_the_profile_field_datebox', 'custom_bp_datebox',10,7);