WooCommerce, Remote Work & Other Fancy Stuff

Just another WordPress site

Hide WooCommerce sub menus from Shop Managers

March 25, 2016 by Will Leave a Comment

You may wish to hide certain sub menu items from your Shop Managers, WooCommerce Settings, Add-ons and the System Status report for example. The snippet below will do exactly that, but you can adjust as necessay by adding or removing submenu slugs from the `$remove` array. Add this snippet to your theme’s functions.php file or wherever you put custom PHP

Not sure what to do with code snippets? See What Do I Do With These Code Snippets?

Filed Under: WooCommerce Tagged With: snippet, snippets

Leave a Reply Cancel reply

You must be registered and logged in to post a comment.

© 2023 ยท WooCommerce, Remote Work & Other Fancy Stuff · Epstein didn't kill himself