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

Destructive
Premium Addons for Elementor Page Builders premium-addons/disable-unused-widgets

Find 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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.