Search Bedroom Filter: epl_listing_search_bed_select_min & epl_listing_search_bed_select_max

With these filters you can adjust the drop down option of the bedroom search Min and Max.

Default Bedrooms Min

The default code will display a range of 1 to 10 bedrooms.

'options' => apply_filters(
    'epl_listing_search_bed_select_min',
    array_combine( range( 1, 10 ), array_map( 'epl_number_suffix_callback', range( 1, 10 ) ) ) 
),

Default Bedrooms Max

The default code will display a range of 1 to 10 bedrooms.

'options' => apply_filters(
    'epl_listing_search_bed_select_max',
   array_combine( range( 1, 10 ), array_map( 'epl_number_suffix_callback', range( 1, 10 ) ) ) 
),

Customised min to add studio

function my_epl_min_bed_options() {
	$bed_min_array = array(
		'0'	=>	'Studio',
		'1'	=>	'1',
		'2'	=>	'2',
		'3'	=>	'3',
		'4'	=>	'4',
		'5'	=>	'5',
		'6'	=>	'6',
		'7'	=>	'7',
		'8'	=>	'8',
		'9'	=>	'9',
		'10'	=>	'10',
	);
	return $bed_min_array;
}
add_filter('epl_listing_search_bed_select_min', 'my_epl_min_bed_options' );

Alter the bedrooms and bathrooms suffix 

@since: Easy Property Listings version 3.4.38 you can use the epl_number_suffix filter to alter the default + suffix added after the value.