@@ -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); |
@@ -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')) |