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