| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | |
| 32 | 32 | fputs($this->fh, $this->parts['open'] . PHP_EOL); |
| 33 | 33 | $this->counter = 0; |
| 34 | 34 | |
| 35 | - update_site_option('iwp_exporter_json_config', [ | |
| 35 | + update_option('iwp_exporter_json_config', [ | |
| 36 | 36 | 'parts' => $this->parts |
| 37 | 37 | ]); |
| 38 | 38 | } |
| 39 | 39 | |
| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | |
| 40 | 40 | public function loadConfig() |
| 41 | 41 | { |
| 42 | 42 | if (!$this->setup) { |
| 43 | - $config = get_site_option('iwp_exporter_json_config', []); | |
| 43 | + $config = get_option('iwp_exporter_json_config', []); | |
| 44 | 44 | $this->parts = $config['parts']; |
| 45 | 45 | $this->setup = true; |
| 46 | 46 | } |
| 47 | 47 | } |