Reorder Search Filters
<?php
/**
* Reorder Search Filters
*/
add_filter( 'wpsight_search_form_details', 'custom_search_form_details', 10 );
function custom_search_form_details($search_details) {
$standard_details = wpsight_standard_details();
$search_details['status']['position'] = 10;
$search_details['location']['position'] = 20;
$search_details['listing-type']['position'] = 30;
$search_details[$standard_details['details_1']['id']]['position'] = 40;
$search_details[$standard_details['details_2']['id']]['position'] = 50;
return $search_details;
}