From f4f65f02459628c4b05693f6d1b28c735cf3f8b3 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 18 Feb 2025 11:21:32 +0100 Subject: [PATCH] hiding taxonomies from artisan page --- includes/taxonomy.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/taxonomy.php b/includes/taxonomy.php index e0108a8..f976d65 100644 --- a/includes/taxonomy.php +++ b/includes/taxonomy.php @@ -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,