@@ -3,6 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Flynt\Features\Components\Component; |
| 5 | 5 | |
| 6 | -add_action('wp_enqueue_scripts', function () { |
|
| 6 | +add_action('wp_enqueue_scripts', function() { |
|
| 7 | 7 | Component::enqueueAssets('BlockWysiwyg'); |
| 8 | 8 | }); |
@@ -5,11 +5,11 @@ |
||
| 5 | 5 | use Flynt\Features\Components\Component; |
| 6 | 6 | use Timber\Menu; |
| 7 | 7 | |
| 8 | -add_action('wp_enqueue_scripts', function () { |
|
| 8 | +add_action('wp_enqueue_scripts', function() { |
|
| 9 | 9 | Component::enqueueAssets('NavigationMain'); |
| 10 | 10 | }); |
| 11 | 11 | |
| 12 | -add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) { |
|
| 12 | +add_filter('Flynt/addComponentData?name=NavigationMain', function($data) { |
|
| 13 | 13 | // set max level of the menu |
| 14 | 14 | $data['maxLevel'] = 0; |
| 15 | 15 | $data['menuSlug'] = !empty($data['menuSlug']) ? $data['menuSlug'] : ''; |