I am trying to find a solution to remove the “My Sites” menu that comes under the Dashboard section of a multi-site install. Any ideas on which hook to use?
1 comment
Comments are closed.
I am trying to find a solution to remove the “My Sites” menu that comes under the Dashboard section of a multi-site install. Any ideas on which hook to use?
Comments are closed.
You can use
remove_submenu_page
to remove it. Note that it doesn’t prevent visiting that page if you manually enter the URL.Based on the example from
remove_submenu_page
Codex page.