@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Timber\Timber; |
6 | 6 | |
7 | -add_filter('Flynt/addComponentData?name=ReusableComponents', function ($data) { |
|
7 | +add_filter('Flynt/addComponentData?name=ReusableComponents', function($data) { |
|
8 | 8 | if (!empty($data['ids'])) { |
9 | 9 | $data['posts'] = Timber::get_posts([ |
10 | 10 | 'post_type' => 'reusable-component', |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use ACFComposer\ACFComposer; |
4 | 4 | use Flynt\Components; |
5 | 5 | |
6 | -add_action('Flynt/afterRegisterComponents', function () { |
|
6 | +add_action('Flynt/afterRegisterComponents', function() { |
|
7 | 7 | ACFComposer::registerFieldGroup([ |
8 | 8 | 'name' => 'reusableComponents', |
9 | 9 | 'title' => 'Reusable Components', |