Plugin Dependencies (PRO)

Keeping Plugins Always Active When Another Plugin Is Active

Freesoul Deactivate Plugins PRO allows you to ensure certain plugins remain active whenever a specific plugin is active, regardless of other FDP settings. This can be useful for plugins that depend on a main plugin and must not be deactivated accidentally.

How It Works

In the backend, FDP provides a matrix interface:

  • Rows: Each row represents a plugin installed on your WordPress site.
  • Columns: Each column corresponds to another plugin installed.

By checking a box at the intersection of a row and a column:

  • You tell FDP that the plugin in that column should always remain active whenever the plugin of that row is active.
  • This rule overrides other FDP settings that might normally deactivate the plugin.

Example

Imagine you have a main plugin called “Main Plugin” and two add-ons: “Add-on A” and “Add-on B”.

  1. In the FDP matrix, locate the row for “Main Plugin”.
  2. In that row, check the boxes for “Add-on A” and “Add-on B”.
  3. Save your changes.

Result:

  • Whenever Main Plugin is active, Add-on A and Add-on B will also be kept active automatically.
  • Even if other FDP settings would normally deactivate these add-ons, this rule takes precedence.

Benefits

  • Prevents dependent plugins from being deactivated by mistake.
  • Ensures a stable and consistent environment for plugin ecosystems.
  • Works for any combination of plugins installed on your site.

Steps to Configure

  1. Navigate to Freesoul Deactivate Plugins → Miscellaneous → Plugin Dependencies.
  2. Locate the row for the main plugin whose dependencies you want to protect.
  3. Check the boxes for the plugins that should always stay active.
  4. Click Save Changes.
Freesoul Deactivate Plugins PRO | Plugin Dependencies

The picture above shows the settings to keep WooCommerce Add-ons active whenever WooCommerce is active, and All-in-One WP Migration active whenever All-in-One WP Migration Unlimited Extension is active.