@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | namespace Flynt\RemoveEditor; |
| 8 | 8 | |
| 9 | -add_action('init', function () { |
|
| 9 | +add_action('init', function() { |
|
| 10 | 10 | remove_post_type_support('page', 'editor'); |
| 11 | 11 | remove_post_type_support('post', 'editor'); |
| 12 | 12 | }); |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * Removes Gutenberg default styles on front-end |
| 16 | 16 | */ |
| 17 | -add_action('wp_print_styles', function () { |
|
| 17 | +add_action('wp_print_styles', function() { |
|
| 18 | 18 | wp_dequeue_style('wp-block-library'); |
| 19 | 19 | wp_dequeue_style('wp-block-library-theme'); |
| 20 | 20 | }); |