ntar replied
Customer Reply
Thank you, everything works. In order not to install unnecessary plugins, I used the functions.php file in Child Theme.
Code:
function penci_get_tran_setting( $day ) {
$text = array(
'penci_weather_sun_text' => 'Sun',
'penci_weather_mon_text' => 'Mon',
'penci_weather_tue_text' => 'Tue',
'penci_weather_wed_text' => 'Wed',
'penci_weather_thu_text' => 'Thu',
'penci_weather_fri_text' => 'Fri',
'penci_weather_sat_text' => 'Sat',
);
return isset( $text[$day] ) ? $text[$day] : '';
}