| @@ -398,9 +398,9 @@ | ||
| 398 | 398 | 'gm_latitude' => '40.782864', |
| 399 | 399 | 'gm_longitude' => '-73.965355', |
| 400 | 400 | ], |
| 401 | 401 | ], |
| 402 | - 'title_field' => '{{{ gm_location_title }}}', | |
| 402 | + 'title_field' => '{{ gm_location_title }}', | |
| 403 | 403 | ] |
| 404 | 404 | ); |
| 405 | 405 | |
| 406 | 406 | $this->end_controls_section(); |
| @@ -671,9 +671,9 @@ | ||
| 671 | 671 | ]; |
| 672 | 672 | } |
| 673 | 673 | |
| 674 | 674 | protected function render() { |
| 675 | - $settings = $this->get_settings(); | |
| 675 | + $settings = Core::displaySettings($this); | |
| 676 | 676 | $locations = $settings['google_map_locations'] ?? []; |
| 677 | 677 | |
| 678 | 678 | // Sanitize the first location's title (if it exists) |
| 679 | 679 | if (!empty($locations[0]['gm_location_title'])) { |