Actions: How to Deactivate Plugins During Specific Actions

This feature allows you to disable unnecessary plugins during specific AJAX actions, improving performance and reducing server load.

Built-in Actions

Under Freesoul Deactivate Plugins → Actions, you’ll find predefined settings for AJAX actions used by popular plugins.

  • Only selected actions from well-known plugins are shown by default.
  • In the screenshot above, you can see actions managed by WooCommerce.

In this example:

  • All plugins are disabled during WooCommerce AJAX actions.
  • Freesoul Custom remains active during the checkout AJAX request.

Custom AJAX Actions (PRO)

PRO users can disable plugins on any AJAX action without writing code.

The PRO version includes an Action Recorder, available under:
Freesoul Deactivate Plugins → Actions → Custom Actions

How to Add a Custom Action

  1. Enter the AJAX action name in the input field
  2. Start the recorder
  3. Trigger the action (e.g. form submission, saving settings)
  4. Stop the recorder
  5. Disable the plugins you don’t need for that action

In the example shown, only Freesoul Builder is kept active during a form submission, as no other plugins are required.

Developer Extensions

If you are a developer, you can:

  • Add any custom AJAX action to FDP settings
  • Create an add-on to integrate FDP with third-party plugins

Read the developer guide here:

How to add custom AJAX actions

⚠️ Warning

  • Disabling required plugins during an AJAX action may cause broken forms, failed checkouts, or JavaScript errors.
  • Always test AJAX actions carefully after saving changes.
  • Be especially cautious with payment, login, and form submission actions.

✅ Mini Checklist

  • ☐ Identify slow or heavy AJAX actions
  • ☐ Check which plugins are actually needed
  • ☐ Use built-in or custom actions
  • ☐ Test the action after disabling plugins

Real-World Examples

  • Disable page builder plugins during WooCommerce checkout AJAX calls.
  • Keep only the contact form plugin active during form submissions.
  • Optimize page-builder live previews by loading only essential plugins.