@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | use Flynt\Features\Components\Component; |
6 | 6 | use Flynt\Features\Acf\OptionPages; |
7 | 7 | |
8 | -add_action('wp_enqueue_scripts', function () { |
|
8 | +add_action('wp_enqueue_scripts', function() { |
|
9 | 9 | $apiKey = OptionPages::get('globalOptions', 'feature', 'acf', 'googleMapsApiKey'); |
10 | 10 | $enqueuedAssets = [ |
11 | 11 | [ |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | Component::enqueueAssets('MapGoogle', $enqueuedAssets); |
28 | 28 | }); |
29 | 29 | |
30 | -add_filter('Flynt/addComponentData?name=MapGoogle', function ($data) { |
|
30 | +add_filter('Flynt/addComponentData?name=MapGoogle', function($data) { |
|
31 | 31 | $data['infoContent'] = htmlspecialchars(json_encode($data['infoContent'])); |
32 | 32 | return $data; |
33 | 33 | }); |