Not hiding WooCommerce menu items
-
Hi,
First of all, thanks for the great plugin!
I have 2 issues that I would like to ask for some help.
1. I cannot hide below menu items under WooCommerce menu.
———
Reports
Settings
———
Settings menu is especially sensitive for some users to have access.
I found their slugs which are
wc-reports and wc-settings
I added these two on the right hand side field under Menu Options and did check the boxes. But they won’t hide. These sub menu items don’t have classes or ID either.2. Completely deactivating a menu. I found that when I check menu option boxes, when I try to access that menu using URL there will be an error “Cheatin’ uh? Sorry, you are not allowed to access this site.”.
But there are some menus that I disabled with custom option such as
vc-welcome slug for WPBakery Page Builder.
The WPBakery menu is hidden but I can actually access it using URL /wp-admin/admin.php?page=vc-welcome.
Is there any way to completely prohibit going to that menu using URL?Thank you very much,
- The topic ‘Not hiding WooCommerce menu items’ is closed to new replies.