FEATURE Extending post types support for post type recherche

This commit is contained in:
Antoine M 2026-02-24 14:50:40 +01:00
parent e1ba2fb5ec
commit cafe4c7bca

View File

@ -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,