From 3e5047028fecbbc24fb6d3aaddc44345f97b57af Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Fri, 20 Oct 2017 01:27:49 +0300 Subject: [PATCH] get language from wp --- schedule-config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schedule-config.php b/schedule-config.php index b1e08df..f77e5b1 100644 --- a/schedule-config.php +++ b/schedule-config.php @@ -10,6 +10,8 @@ $year = preg_replace('%.*/([0-9]*)$%', '\1', $siteurl); $sched_config = getSchedConfig($year); +$sched_config['lang'] = of_get_lang(); + $data = loadData($sched_config); if ( preg_match('/^workshop/', $pagename) ) {