@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=GridContentLists', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=GridContentLists', function($data) { |
|
9 | 9 | Component::enqueueAssets('GridContentLists'); |
10 | 10 | |
11 | 11 | return $data; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=HeroCta', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=HeroCta', function($data) { |
|
9 | 9 | Component::enqueueAssets('HeroCta'); |
10 | 10 | |
11 | 11 | return $data; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=GridPosts', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=GridPosts', function($data) { |
|
9 | 9 | Component::enqueueAssets('GridPosts'); |
10 | 10 | |
11 | 11 | return $data; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=BlockWysiwyg', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=BlockWysiwyg', function($data) { |
|
9 | 9 | Component::enqueueAssets('BlockWysiwyg'); |
10 | 10 | |
11 | 11 | return $data; |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Flynt\Utils\Options; |
7 | 7 | use Flynt; |
8 | 8 | |
9 | -add_filter('Flynt/addComponentData?name=ListPosts', function ($data) { |
|
9 | +add_filter('Flynt/addComponentData?name=ListPosts', function($data) { |
|
10 | 10 | Component::enqueueAssets('ListPosts'); |
11 | 11 | $data['isArchive'] = is_home() || is_archive(); |
12 | 12 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=HeroImage', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=HeroImage', function($data) { |
|
9 | 9 | Component::enqueueAssets('HeroImage', [ |
10 | 10 | [ |
11 | 11 | 'name' => 'lazysizes', |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=AccordionDefault', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=AccordionDefault', function($data) { |
|
9 | 9 | Component::enqueueAssets('AccordionDefault'); |
10 | 10 | return $data; |
11 | 11 | }); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Flynt\Utils\Component; |
7 | 7 | use Flynt\Utils\Options; |
8 | 8 | |
9 | -add_filter('Flynt/addComponentData?name=ListSearchResults', function ($data) { |
|
9 | +add_filter('Flynt/addComponentData?name=ListSearchResults', function($data) { |
|
10 | 10 | Component::enqueueAssets('ListSearchResults'); |
11 | 11 | |
12 | 12 | global $wp_query; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=BlockImageText', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=BlockImageText', function($data) { |
|
9 | 9 | Component::enqueueAssets('BlockImageText'); |
10 | 10 | |
11 | 11 | return $data; |