Search Widget "Any" word Filters

You can use the following filters by adding them to your theme functions file to customise the internal "Any" label for each of the search fields to create slim search areas like this example. Note: This is using custom CSS to change the look.

Search widget slim labels

// Easy Property Listings Search Filters to customise "Any".
function rec_epl_search_widget_option_label_location() {
	$label = 'Suburbs';
	return $label;
}
add_filter( 'epl_search_widget_option_label_location' , 'rec_epl_search_widget_option_label_location' );

// Category.
function rec_epl_search_widget_option_label_category() {
	$label = 'Property';
	return $label;
}
add_filter( 'epl_search_widget_option_label_category' , 'rec_epl_search_widget_option_label_category' );

// Price From.
function rec_epl_search_widget_option_label_price_from() {
	$label = 'Price From';
	return $label;
}
add_filter( 'epl_search_widget_option_label_price_from' , 'rec_epl_search_widget_option_label_price_from' );

// Price To.
function rec_epl_search_widget_option_label_price_to() {
	$label = 'Price To';
	return $label;
}
add_filter( 'epl_search_widget_option_label_price_to' , 'rec_epl_search_widget_option_label_price_to' );

// Bedrooms Min.
function rec_epl_search_widget_option_label_bedrooms_min() {
	$label = 'Beds Min';
	return $label;
}
add_filter( 'epl_search_widget_option_label_bedrooms_min' , 'rec_epl_search_widget_option_label_bedrooms_min' );

// Bedrooms Max.
function rec_epl_search_widget_option_label_bedrooms_max() {
	$label = 'Beds Max';
	return $label;
}
add_filter( 'epl_search_widget_option_label_bedrooms_max' , 'rec_epl_search_widget_option_label_bedrooms_max' );

// Bathrooms.
function rec_epl_search_widget_option_label_bathrooms() {
	$label = 'Baths';
	return $label;
}
add_filter( 'epl_search_widget_option_label_bathrooms' , 'rec_epl_search_widget_option_label_bathrooms' );

// Parking.
function rec_epl_search_widget_option_label_parking() {
	$label = 'Parking';
	return $label;
}
add_filter( 'epl_search_widget_option_label_parking' , 'rec_epl_search_widget_option_label_parking' );