@@ -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 | $postArr['post_type'], |
21 | 21 | [ |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | return $data; |
35 | 35 | }, 99, 2); |
36 | 36 | |
37 | -add_shortcode('flyntTheContent', function ($attrs) { |
|
37 | +add_shortcode('flyntTheContent', function($attrs) { |
|
38 | 38 | $postId = $attrs['id']; |
39 | 39 | // in case the post id was not set correctly and is 0 |
40 | 40 | if (!empty($postId)) { |