How to adjust the land and building units defaults with filters
Easy Property Listings has a number of filters that let you adjust all aspects of the plugin. In order to adjust the land and building sizes you can use the following filters. We recommend creating a custom plugin which contains all your customisations so if you aren't using a child theme you will not lose your customisations.
All you need to do is edit/add or remove the sizes in the array and the first value will the the default.
How to adjust the meta drop down size selections for both land and building.
function my_epl_opts_area_unit_filter() { $sizes = array( 'square' => __('Square', 'epl'), 'squareMeter' => __('Square Meter', 'epl'), 'acre' => __('Acre', 'epl'), 'hectare' => __('Hectare', 'epl'), 'sqft' => __('Square Feet', 'epl') ); return $sizes; } // Modifies the edit listing land sizes add_action( 'epl_opts_area_unit_filter' , 'my_epl_opts_area_unit_filter'); // Modifies the search widget land sizes add_action( 'epl_listing_search_land_unit_label' , 'my_epl_opts_area_unit_filter'); function my_epl_opts_building_area_unit_filter() { $sizes = array( 'sqft' => __('Square Feet', 'epl'), 'acre' => __('Acre', 'epl'), 'square' => __('Square', 'epl'), 'squareMeter' => __('Square Meter', 'epl'), 'hectare' => __('Hectare', 'epl'), ); return $sizes; } // Modifies the search widget building sizes add_action( 'epl_listing_search_building_unit_label' , 'my_epl_opts_building_area_unit_filter');