@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | use Timber\Timber; |
8 | 8 | use Timber\Post; |
9 | 9 | |
10 | -add_filter('Flynt/addComponentData?name=BlockAnchor', function ($data) { |
|
10 | +add_filter('Flynt/addComponentData?name=BlockAnchor', function($data) { |
|
11 | 11 | if (isset($data['anchor'])) { |
12 | 12 | $data['anchor'] = urlencode($data['anchor']); |
13 | 13 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ]; |
43 | 43 | } |
44 | 44 | |
45 | -add_filter('acf/load_field/name=anchorLinkCopy', function ($field) { |
|
45 | +add_filter('acf/load_field/name=anchorLinkCopy', function($field) { |
|
46 | 46 | global $post; |
47 | 47 | $post = new \Timber\Post($post); |
48 | 48 | $message = $field['message']; |