| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | |
| 31 | 31 | $data = $this->buildTemplateDataStructure([]); |
| 32 | 32 | $this->template_data = $data[0]; |
| 33 | 33 | |
| 34 | - update_site_option('iwp_exporter_xml_config', [ | |
| 34 | + update_option('iwp_exporter_xml_config', [ | |
| 35 | 35 | 'template' => $this->template, |
| 36 | 36 | 'template_sections' => $this->template_sections, |
| 37 | 37 | 'template_data' => $this->template_data |
| 38 | 38 | ]); |
| @@ -41,9 +41,9 @@ | ||
| 41 | 41 | public function loadConfig() |
| 42 | 42 | { |
| 43 | 43 | |
| 44 | 44 | if (!$this->setup) { |
| 45 | - $config = get_site_option('iwp_exporter_xml_config'); | |
| 45 | + $config = get_option('iwp_exporter_xml_config'); | |
| 46 | 46 | $this->template = $config['template']; |
| 47 | 47 | $this->template_sections = $config['template_sections']; |
| 48 | 48 | $this->template_data = $config['template_data']; |
| 49 | 49 | $this->setup = true; |