I did try those snippets but it’s not working on my site.
I try both Settings and Status menu and play around with other MainWP Menus but still, not working.
I guess because the Menus on MainWP Dashboard is not part of WP core menu?
Sorry if it sound like asking too much but I need to hide some MainWP menus and add some links on dashboard. The available menu editors (AAM, Admin Menu Editor, etc.) can’t find MainWP menus.
I can hide Extensions menu from specific role (let’s say “va”) using the above script but the whole sub-menu is hidden as well. Is it possible to add link on dashboard menu?
The script + this version MainWP is working combo. But… the logout button is gone as well. There’s no way to logout unless user type the logout URL logout into browser like this: https:// mydomain.com/wp-login.php?action=logout
So, appreciate if you could provide the script to add link on MainWP sidebar menu, then it’s solved. The available Dashboard Customizer plugins don’t work on MainWP menu.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.