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