Here's a code
if ($show_options['temperature']) {
$vars['temperature'] = $weather_info['data']['condition']['temp'];
$vars['temperature_units'] = $weather_info['data']['units']['temperature'];
}
but we need temperature_units not only for 'Show temperature' but also for showing min/max forecast temperatures.
Comments
Comment #1
Pedro Lozano commented