Prevent WordPress plugin from being disabled

You properly already know that you can create a “MU” plugin, that prevents your plugin from being disabled. But what if your theme depends on a plugin, you installed from WordPress.org, that you do not want your users to disable? Add this to your functions.php: $plugin = ‘akismet/akismet.php’; // you might want to change this […]