Disable Unused Premium Addons Widgets is a WordPress ability from Premium Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Disable Unused Premium Addons Widgets
DestructiveFind every Premium Addons widget that isn't used anywhere on the site and disable it in one call.
Requires the Premium Addons for Elementor plugin on WordPress 7.0+ for the Abilities API (abilities are registered only when the wp_register_ability() function exists). Dashboard, settings and site-inventory abilities (get-id-by-title, list-pages, list-templates, get-global-settings, get-settings, update-setting, scan-usage, disable-unused-widgets, clear-dynamic-assets, subscribe-newsletter) require the caller hold the 'manage_options' capability. premium-addons/create-page requires 'edit_pages'. premium-addons/get-widget-schema, premium-addons/get-addon-schema, premium-addons/list-available-elements, premium-addons/list-pa-addons, premium-addons/detect-atomic-support, premium-addons/check-elementor-element and premium-addons/create-elementor-template require 'edit_posts'. premium-addons/get-page-structure, premium-addons/get-element-settings, premium-addons/add-flexbox, premium-addons/add-container, premium-addons/update-element-settings, premium-addons/insert-widget, premium-addons/remove-element, premium-addons/change-post-status and premium-addons/duplicate-post require 'edit_post' on the target post_id, and deny requests for a nonexistent post_id outright.
What it does
This ability computes which Premium Addons widgets aren't used anywhere on the site — the same widget list minus whatever premium-addons/scan-usage reports as in use — and disables all of them in one call, unless dry_run is set to true, in which case it only returns the unused list without changing anything. Widgets only: global features and addons are never touched. The disable write funnels through the same settings service the dashboard save action and premium-addons/update-setting use, so results stay consistent everywhere. Because resolving usage always triggers Elementor's Usage module to re-scan the site (even on a dry run), this can be a costly operation on sites with a lot of content; it's marked destructive since it changes live widget availability.
See it in action
You ask your AI assistant
"Show me which Premium Addons widgets aren't being used anywhere, then disable them to speed up the site."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| dry_run | boolean | No | When true, returns the unused-widgets list without disabling anything. Defaults to false. |
Returns
An object with an 'unused' array (keys of every widget not currently used, including ones already disabled) and a 'disabled' array (keys this call actually switched from enabled to disabled).
Permission
The current user must have the 'manage_options' capability.
More Premium Addons for Elementor abilities
Add Container (Elementor v3)
Add a new Elementor v3 (classic) container to a page, with layout, background, border and spacing already set.
Add Flexbox (Elementor v4 atomic)
Add a new Elementor v4 atomic flexbox container to a page, with layout, background, border and spacing already set.
Change Post Status
Change the status of a page, post or Elementor template (e.g. draft to publish).
Check Copy Compatibility
Check whether this site can render elements copied from another site via a transfer URL, before actually importing them.
Check Elementor Element
Check whether a specific element or widget type is registered on the site before trying to build with it.
Clear Premium Addons Dynamic Assets
Clear generated dynamic CSS/JS asset files and purge the related caches.