Completed
Push — componentlibrary ( 7032e2...b56e82 )
by
unknown
01:32
created
Components/NavigationMain/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,17 +6,17 @@
 block discarded – undo
6 6
 use Timber\Menu;
7 7
 use Flynt\Utils\Asset;
8 8
 
9
-add_action('wp_enqueue_scripts', function () {
9
+add_action('wp_enqueue_scripts', function() {
10 10
     Component::enqueueAssets('NavigationMain');
11 11
 });
12 12
 
13
-add_action('init', function () {
13
+add_action('init', function() {
14 14
     register_nav_menus([
15 15
         'navigation_main' => __('Navigation Main', 'flynt-starter-theme')
16 16
     ]);
17 17
 });
18 18
 
19
-add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) {
19
+add_filter('Flynt/addComponentData?name=NavigationMain', function($data) {
20 20
     $data['maxLevel'] = 0;
21 21
     $data['menu'] = new Menu('navigation_main');
22 22
 
Please login to merge, or discard this patch.