Completed
Push — componentlibrary ( b8e554...0baa2a )
by Doğa
01:37
created
Components/NavigationMain/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 use Timber\Menu;
6 6
 use Flynt\Utils\Asset;
7 7
 
8
-add_action('init', function () {
8
+add_action('init', function() {
9 9
     register_nav_menus([
10 10
         'navigation_main' => __('Navigation Main', 'flynt')
11 11
     ]);
12 12
 });
13 13
 
14
-add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) {
14
+add_filter('Flynt/addComponentData?name=NavigationMain', function($data) {
15 15
     $data['maxLevel'] = 0;
16 16
     $data['menu'] = new Menu('navigation_main');
17 17
 
Please login to merge, or discard this patch.
Components/NavigationFooter/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Timber\Menu;
6 6
 
7
-add_action('init', function () {
7
+add_action('init', function() {
8 8
     register_nav_menus([
9 9
         'navigation_footer' => __('Navigation Footer', 'flynt')
10 10
     ]);
11 11
 });
12 12
 
13
-add_filter('Flynt/addComponentData?name=NavigationFooter', function ($data) {
13
+add_filter('Flynt/addComponentData?name=NavigationFooter', function($data) {
14 14
     $data['maxLevel'] = 0;
15 15
     $data['menu'] = new Menu('navigation_footer');
16 16
 
Please login to merge, or discard this patch.