@@ -6,13 +6,13 @@ |
||
| 6 | 6 | use Flynt\Shortcodes; |
| 7 | 7 | use Timber\Menu; |
| 8 | 8 | |
| 9 | -add_action('init', function () { |
|
| 9 | +add_action('init', function() { |
|
| 10 | 10 | register_nav_menus([ |
| 11 | 11 | 'navigation_footer' => __('Navigation Footer', 'flynt') |
| 12 | 12 | ]); |
| 13 | 13 | }); |
| 14 | 14 | |
| 15 | -add_filter('Flynt/addComponentData?name=NavigationFooter', function ($data) { |
|
| 15 | +add_filter('Flynt/addComponentData?name=NavigationFooter', function($data) { |
|
| 16 | 16 | $data['maxLevel'] = 0; |
| 17 | 17 | $data['menu'] = new Menu('navigation_footer'); |
| 18 | 18 | |