epl_listing_search_price_rental : Search Widget Filter

This filter allows you to modify the rental price values in the search widget.

function my_epl_listing_search_price_rental_range() {
	// Check to make sure Easy Property Listings is active 
	// so that the epl_currency_formatted_amount function works
	if ( ! class_exists( 'Easy_Property_Listings' ) ) {
		return;
	}

	$prices_arr = array(
		10	=>	epl_currency_formatted_amount(10),
		20	=>	epl_currency_formatted_amount(20),
		30	=>	epl_currency_formatted_amount(30),
		40	=>	epl_currency_formatted_amount(40),
		50	=>	epl_currency_formatted_amount(50),
		60	=>	epl_currency_formatted_amount(60),
		70	=>	epl_currency_formatted_amount(70),
		80	=>	epl_currency_formatted_amount(80),
		90	=>	epl_currency_formatted_amount(90),
		100	=>	epl_currency_formatted_amount(100),
		150	=>	epl_currency_formatted_amount(150),
		200	=>	epl_currency_formatted_amount(200),
		250	=>	epl_currency_formatted_amount(250),
		300	=>	epl_currency_formatted_amount(300),
		350	=>	epl_currency_formatted_amount(350),
		400	=>	epl_currency_formatted_amount(400),
	);
	
	return $prices_arr;
}
add_filter( 'epl_listing_search_price_rental' , 'my_epl_listing_search_price_rental_range' );

Results of rental filter

Rent Search Widget filtered values