@@ -5,13 +5,13 @@ |
||
5 | 5 | use Flynt\Utils\Asset; |
6 | 6 | use Timber\Menu; |
7 | 7 | |
8 | -add_action('init', function () { |
|
8 | +add_action('init', function() { |
|
9 | 9 | register_nav_menus([ |
10 | 10 | 'navigation_burger' => __('Navigation Burger', 'flynt') |
11 | 11 | ]); |
12 | 12 | }); |
13 | 13 | |
14 | -add_filter('Flynt/addComponentData?name=NavigationBurger', function ($data) { |
|
14 | +add_filter('Flynt/addComponentData?name=NavigationBurger', function($data) { |
|
15 | 15 | $data['menu'] = new Menu('navigation_burger'); |
16 | 16 | $data['logo'] = [ |
17 | 17 | 'src' => get_theme_mod('custom_header_logo') ? get_theme_mod('custom_header_logo') : Asset::requireUrl('Components/NavigationBurger/Assets/logo.svg'), |