diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php
index e55cfdc..f46405c 100644
--- a/mu-plugins/carhop-post-types.php
+++ b/mu-plugins/carhop-post-types.php
@@ -105,7 +105,7 @@ function carhop_create_posttype()
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''),
'menu_position' => 4,
'taxonomies' => array('type', 'etiquettes'),
- 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'),
+ 'supports' => array('title', 'revisions', 'editor', 'thumbnail'),
)
);
register_post_type(
@@ -118,7 +118,7 @@ function carhop_create_posttype()
),
'menu_name' => 'Recherches participatives',
'show_in_rest' => true,
- 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'),
+ 'supports' => array('title', 'revisions', 'editor', 'thumbnail'),
'public' => true,
'has_archive' => true,
'menu_position' => 4,
@@ -169,7 +169,7 @@ function carhop_create_posttype()
'rewrite' => array('slug' => 'expositions'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''),
'show_in_rest' => true,
- 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'),
+ 'supports' => array('title', 'revisions', 'editor', 'thumbnail'),
'menu_position' => 4,
)
);
@@ -187,7 +187,7 @@ function carhop_create_posttype()
'rewrite' => array('slug' => 'outils-pedagogiques'),
'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''),
'show_in_rest' => true,
- 'supports' => array('title', 'editor', 'thumbnail'),
+ 'supports' => array('title', 'revisions', 'editor', 'thumbnail'),
'menu_position' => 4,
)
);
@@ -229,8 +229,3 @@ function carhop_create_posttype()
);
}
add_action('init', 'carhop_create_posttype');
-
-
-
-
-