lucidninja/production-plugins

Deactivate unhelpful Wordpress plugins on non-production sites.

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:wordpress-muplugin

v1.0 2018-07-11 08:04 UTC

This package is not auto-updated.

Last update: 2025-07-03 20:26:23 UTC


README

Contributors

Abstract

A simple, developer plugin with no GUI that deactivates unhelpful Wordpress plugins on non-production sites.

Steps

  1. Add this file to the mu-plugins folder of Wordpress, in order to deactivate the required plugins.
  2. Edit the plugins array to include the plugins you wish to deactivate on non-production environments.
  $plugins = array(
    'ithemes-security-pro/ithemes-security-pro.php',
    'backupbuddy/backupbuddy.php',
  );

Dependencies

This plugin uses PHP dotenv to manage environment variables. In order for this plugin to work, you must be using the WP_ENV variable, which accepts either development, staging or production.

For more information on .env, see: