hiding taxonomies from artisan page

This commit is contained in:
Antoine M 2025-02-18 11:21:32 +01:00
parent 2a2e15068c
commit f4f65f0245

View File

@ -30,6 +30,7 @@ function metiers_patrimoine_add_custom_taxonomies()
'show_in_rest' => true, // Needed for tax to appear in Gutenberg editor
'show_ui' => true,
'show_admin_column' => false,
'show_in_menu' => false,
'show_in_quick_edit' => false,
'meta_box_cb' => false,
'hierarchical' => true,
@ -61,6 +62,7 @@ function metiers_patrimoine_add_custom_taxonomies()
'show_in_rest' => true, // Needed for tax to appear in Gutenberg editor
'show_ui' => true,
'show_admin_column' => false,
'show_in_menu' => false,
'show_in_quick_edit' => false,
'meta_box_cb' => false,
'hierarchical' => true,