How to hide the main site in the “My Sites” admin menu (Multisite)
I needed a simple way to hide the main site from showing up in the WordPress admin bar across my Multisite community. The following snippet shows you how to hide your main site from showing up from everyone except super admins Add the following to functions.php or your functions plugin // Add specific CSS class→