@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=BlockImage', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=BlockImage', function($data) { |
|
9 | 9 | Component::enqueueAssets('BlockImage'); |
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=SliderImages', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=SliderImages', function($data) { |
|
9 | 9 | Component::enqueueAssets('SliderImages', [ |
10 | 10 | [ |
11 | 11 | 'name' => 'slick-carousel', |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Features\Components\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=ListTestimonialCards', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=ListTestimonialCards', function($data) { |
|
9 | 9 | Component::enqueueAssets('ListTestimonialCards'); |
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=SliderImageGallery', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=SliderImageGallery', function($data) { |
|
9 | 9 | Component::enqueueAssets('SliderImageGallery', [ |
10 | 10 | [ |
11 | 11 | 'name' => 'slick-carousel', |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=BlockBaseStyle', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=BlockBaseStyle', function($data) { |
|
9 | 9 | Component::enqueueAssets('BlockBaseStyle'); |
10 | 10 | return $data; |
11 | 11 | }); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Flynt\Features\Components\Component; |
7 | 7 | use Flynt; |
8 | 8 | |
9 | -add_filter('Flynt/addComponentData?name=GridPostsSlider', function ($data) { |
|
9 | +add_filter('Flynt/addComponentData?name=GridPostsSlider', function($data) { |
|
10 | 10 | Component::enqueueAssets('GridPostsSlider', [ |
11 | 11 | [ |
12 | 12 | 'name' => 'slick-carousel', |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Component; |
6 | 6 | use Flynt\Utils\Options; |
7 | 7 | |
8 | -add_filter('Flynt/addComponentData?name=BlockCookieNotice', function ($data) { |
|
8 | +add_filter('Flynt/addComponentData?name=BlockCookieNotice', function($data) { |
|
9 | 9 | Component::enqueueAssets('BlockCookieNotice'); |
10 | 10 | |
11 | 11 | return $data; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use ACFComposer\ACFComposer; |
4 | 4 | |
5 | -add_action('Flynt/afterRegisterComponents', function () { |
|
5 | +add_action('Flynt/afterRegisterComponents', function() { |
|
6 | 6 | ACFComposer::registerFieldGroup([ |
7 | 7 | 'name' => 'postComponents', |
8 | 8 | 'title' => 'Post Components', |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use ACFComposer\ACFComposer; |
4 | 4 | |
5 | -add_action('Flynt/afterRegisterComponents', function () { |
|
5 | +add_action('Flynt/afterRegisterComponents', function() { |
|
6 | 6 | ACFComposer::registerFieldGroup([ |
7 | 7 | 'name' => 'pageComponents', |
8 | 8 | 'title' => 'Page Components', |