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' );

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' );
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' );

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' );

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' );

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' );

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' );

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' );