I have a Multisite setup, and I would like to hide all notices/notifications from the admin pages for everyone but me (the Super Admin). How would I manage to do this?

Thank you!


Try this code in your custom plugin which is better to activate for the network.

if ( !is_super_admin() ) {
  • Wouldn't that hide notices for the super admin only? – jockebq Mar 7 '18 at 11:26
  • it will hide notices for everyone except superadmin – Misha Rudrastyh Mar 7 '18 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.