@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | public function postType() : void |
| 26 | 26 | { |
| 27 | - add_action('init', function () { |
|
| 27 | + add_action('init', function() { |
|
| 28 | 28 | remove_post_type_support(self::NAME, 'editor'); |
| 29 | 29 | add_post_type_support(self::NAME, 'page-attributes'); |
| 30 | 30 | }, 100); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | public function __construct() |
| 13 | 13 | { |
| 14 | - new Taxonomy(self::EXAMPLE_POST_CATEGORY, PostTypes::EXAMPLE_POST_TYPE, [ |
|
| 14 | + new Taxonomy(self::EXAMPLE_POST_CATEGORY, PostTypes::EXAMPLE_POST_TYPE, [ |
|
| 15 | 15 | 'labels' => [ |
| 16 | 16 | 'name' => Translations::trans('Categories'), |
| 17 | 17 | 'singular_name' => Translations::trans('Category'), |