Stop Plugin Activation on WordPress Multisite 2017


Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation or a collection of sites that all share the same WordPress installation.

Not all plugins are compatible with WordPress multisite as a number of consideration has to be taken into account (story for another day).

Below is a code snippet I often use to stop my plugins from activating or being used on Multisite.

ads here