@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | return false; |
16 | 16 | } |
17 | 17 | |
18 | -add_filter('Flynt/addComponentData?name=FeatureGoogleAnalytics', function ($data) { |
|
18 | +add_filter('Flynt/addComponentData?name=FeatureGoogleAnalytics', function($data) { |
|
19 | 19 | $googleAnalyticsOptions = Options::getGlobal('GoogleAnalytics'); |
20 | 20 | |
21 | 21 | if ($googleAnalyticsOptions) { |
@@ -32,12 +32,12 @@ discard block |
||
32 | 32 | return $data; |
33 | 33 | }); |
34 | 34 | |
35 | -add_action('wp_footer', function () { |
|
35 | +add_action('wp_footer', function() { |
|
36 | 36 | $context = Timber::get_context(); |
37 | 37 | Timber::render_string('{{ renderComponent("FeatureGoogleAnalytics") }}', $context); |
38 | 38 | }); |
39 | 39 | |
40 | -add_filter('Flynt/thirdPartyCookies', function ($features) { |
|
40 | +add_filter('Flynt/thirdPartyCookies', function($features) { |
|
41 | 41 | $features = array_merge($features, ['statistics' => 'statistics']); |
42 | 42 | return $features; |
43 | 43 | }); |