• Hi,

    Can anyone help me with hiding “Delete site” option from tools menu? The network has two sites installed and on the primary site the delete site is not showing but on the secondary it is when any super admin is logged in.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should be able to use a plugin like User Role Editor to remove that capability from the role or from specific users.

    Thread Starter devtotte

    (@devtotte)

    Thanks for the reply Joy. Im aware of that plugin but im trying to avoid installing more plugins.

    Well, it doesn’t really hurt to install plugins, you know. The ones that are in the repository are reviewed for security before they can get in there. And your code would have to go somewhere (like a plugin), and wouldn’t be reviewed or tested by hundreds of users.
    Besides, you would use this plugin to change things and then uninstall it right after, because changes to users and roles are persistent, unlike custom post types.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hide delete site’ is closed to new replies.