@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use Flynt\FieldVariables; |
| 6 | 6 | use Flynt\Utils\Oembed; |
| 7 | 7 | |
| 8 | -add_filter('Flynt/addComponentData?name=BlockVideoOembed', function ($data) { |
|
| 8 | +add_filter('Flynt/addComponentData?name=BlockVideoOembed', function($data) { |
|
| 9 | 9 | $data['video'] = Oembed::setSrcAsDataAttribute( |
| 10 | 10 | $data['oembed'], |
| 11 | 11 | [ |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use Flynt\FieldVariables; |
| 6 | 6 | use Flynt\Utils\Options; |
| 7 | 7 | |
| 8 | -add_filter('Flynt/addComponentData?name=SliderImages', function ($data) { |
|
| 8 | +add_filter('Flynt/addComponentData?name=SliderImages', function($data) { |
|
| 9 | 9 | $translatableOptions = Options::getTranslatable('SliderOptions'); |
| 10 | 10 | $data['jsonData'] = [ |
| 11 | 11 | 'options' => array_merge($translatableOptions, $data['options']), |
@@ -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' => 'pageComponents', |
| 9 | 9 | 'title' => 'Page Components', |
@@ -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' => 'postComponents', |
| 9 | 9 | 'title' => 'Post Components', |