@@ -39,7 +39,7 @@ |
||
39 | 39 | return ''; |
40 | 40 | } |
41 | 41 | |
42 | - $data = function () use ($componentData) { |
|
42 | + $data = function() use ($componentData) { |
|
43 | 43 | $args = func_get_args(); |
44 | 44 | array_unshift($args, $componentData); |
45 | 45 | return Helpers::extractNestedDataFromArray($args); |
@@ -70,9 +70,9 @@ |
||
70 | 70 | $pluginUrl = esc_url(admin_url('plugins.php')); |
71 | 71 | $message = ["${pluginName} Plugin not activated. Make sure you activate the plugin on the <a href=\"${pluginUrl}\">plugin page</a>."]; |
72 | 72 | $options = [ |
73 | - 'type' => 'error', |
|
74 | - 'title' => 'Flynt is missing a required plugin', |
|
75 | - 'dismissible' => false, |
|
73 | + 'type' => 'error', |
|
74 | + 'title' => 'Flynt is missing a required plugin', |
|
75 | + 'dismissible' => false, |
|
76 | 76 | ]; |
77 | 77 | |
78 | 78 | $manager->addNotice($message, $options); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | public static function setTemplateDirectory() |
34 | 34 | { |
35 | - add_action('after_switch_theme', function () { |
|
35 | + add_action('after_switch_theme', function() { |
|
36 | 36 | $stylesheet = get_option('stylesheet'); |
37 | 37 | |
38 | 38 | if (basename($stylesheet) !== 'templates') { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | } |
41 | 41 | }); |
42 | 42 | |
43 | - add_filter('stylesheet', function ($stylesheet) { |
|
43 | + add_filter('stylesheet', function($stylesheet) { |
|
44 | 44 | return dirname($stylesheet); |
45 | 45 | }); |
46 | 46 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | if (!$acfActive) { |
53 | 53 | self::notifyRequiredPluginIsMissing('ACF'); |
54 | - add_filter('template_include', function () { |
|
54 | + add_filter('template_include', function() { |
|
55 | 55 | die( |
56 | 56 | 'One or more required plugins are not activated! Please <a href="' |
57 | 57 | . esc_url(admin_url('plugins.php')) |