Hide unnecessary Marketing menu item
-
So after the latest update there is a new menu item ‘Marketing’. It seems totally unnecessary to me, as it only provides some links to a few blogs from Woocommerce and some other plugins/’extensions’. Why did they at Woocommerce ever think it would be a good idea to clutter the WordPress admin with even more menu items? Anyway, if you want to get rid of this menu item, place the following code in your functions.php:
add_action('admin_head', 'delete_marketing_menu'); function delete_marketing_menu() { echo '<style> #toplevel_page_wc-admin-path--marketing { display:none; } </style>'; }
- The topic ‘Hide unnecessary Marketing menu item’ is closed to new replies.