search code

$image_alt_id = ”;
$city_html=”;
$restaurant_html=”;
$city = restaurants_all_location(‘city’);
$city= isset($city) ? $city:[];
$city= array_unique($city);
$res_name = restaurants_all_location(‘res_name’);
foreach ($city as $key=>$name){
$city_html.=” .esc_html($name) . ”;
}