@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | } |
16 | 16 | } |
17 | 17 | |
18 | -add_filter('wp_insert_post_data', function ($data, $postArr) { |
|
18 | +add_filter('wp_insert_post_data', function($data, $postArr) { |
|
19 | 19 | if (in_array([ |
20 | 20 | 'revision', |
21 | 21 | 'nav_menu_item', |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | return $data; |
31 | 31 | }, 99, 2); |
32 | 32 | |
33 | -add_shortcode('flyntTheContent', function ($attrs) { |
|
33 | +add_shortcode('flyntTheContent', function($attrs) { |
|
34 | 34 | $postId = $attrs['id']; |
35 | 35 | if (!empty($postId)) { |
36 | 36 | $context = Timber::get_context(); |