|
@@ -5,11 +5,11 @@ |
|
|
block discarded – undo |
|
5
|
5
|
use Flynt\Features\Components\Component; |
|
6
|
6
|
use Flynt\Utils\Asset; |
|
7
|
7
|
|
|
8
|
|
-add_action('wp_enqueue_scripts', function () { |
|
|
8
|
+add_action('wp_enqueue_scripts', function() { |
|
9
|
9
|
Component::enqueueAssets('AccordionVertical'); |
|
10
|
10
|
}); |
|
11
|
11
|
|
|
12
|
|
-add_filter('Flynt/addComponentData?name=AccordionVertical', function ($data) { |
|
|
12
|
+add_filter('Flynt/addComponentData?name=AccordionVertical', function($data) { |
|
13
|
13
|
$data['toggleIconSrc'] = Asset::requireUrl('Components/AccordionVertical/assets/toggleIcon.svg'); |
|
14
|
14
|
return $data; |
|
15
|
15
|
}); |
Please login to merge, or discard this patch.