@@ -21,7 +21,7 @@ |
||
21 | 21 | ]); |
22 | 22 | |
23 | 23 | |
24 | -add_action('Flynt/afterRegisterComponents', function () { |
|
24 | +add_action('Flynt/afterRegisterComponents', function() { |
|
25 | 25 | Options::addTranslatable('FormNewsletter', [ |
26 | 26 | [ |
27 | 27 | 'label' => '', |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | add_filter('wpcf7_load_js', '__return_false'); |
8 | 8 | add_filter('wpcf7_load_css', '__return_false'); |
9 | 9 | |
10 | -add_filter('Flynt/addComponentData?name=FormContactForm7', function ($data) { |
|
10 | +add_filter('Flynt/addComponentData?name=FormContactForm7', function($data) { |
|
11 | 11 | function_exists('wpcf7_enqueue_scripts') && enqueueWpcf7Scripts(); |
12 | 12 | function_exists('wpcf7_enqueue_styles') && wpcf7_enqueue_styles(); |
13 | 13 | |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | |
53 | 53 | remove_action('wpcf7_init', 'wpcf7_add_form_tag_submit', 10, 0); |
54 | 54 | |
55 | -add_action('wpcf7_init', function () { |
|
56 | - wpcf7_add_form_tag('submit', function ($tag) { |
|
55 | +add_action('wpcf7_init', function() { |
|
56 | + wpcf7_add_form_tag('submit', function($tag) { |
|
57 | 57 | $class = wpcf7_form_controls_class($tag->type, 'button'); |
58 | 58 | |
59 | 59 | $atts = []; |