FEATURE Extending post types support for post type communiques

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

View File

@ -146,7 +146,7 @@ function carhop_create_posttype()
'rewrite' => array('slug' => 'communiques-presse'),
'show_in_rest' => true,
'show_in_menu' => 'carhop-presse',
'supports' => array('title', 'custom-fields'),
'supports' => array('title', 'custom-fields', 'thumbnail'),
'menu_position' => 4,
)
);