From cafe4c7bca2b39cea981b8d564e6aafa58ba8a5f Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 14:50:40 +0100 Subject: [PATCH] FEATURE Extending post types support for post type recherche --- mu-plugins/carhop-post-types.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index c7b5070..78ddad2 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -117,6 +117,8 @@ function carhop_create_posttype() 'singular_name' => __('Recherche'), ), 'menu_name' => 'Recherches participatives', + 'show_in_rest' => true, + 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'), 'public' => true, 'has_archive' => true, 'menu_position' => 4,