AI Abilities is a Premium Addons for Elementor feature that connects AI clients such as Claude, Cursor, and Codex to your WordPress site through a built-in MCP server. Each ability is one action the connected AI can perform on your site. This doc covers one of the Dashboard abilities: Disable Unused Premium Addons Widgets.
Disable Unused Premium Addons Widgets lets your AI client switch off every Premium Addons widget that appears nowhere on your site, in one call. Fewer registered widgets means less code loading in the editor and on your pages, which is the quickest performance win the plugin offers.
It is the one-shot version of a cleanup you could do by hand: scan for usage, walk the widget list, and toggle off everything with a zero next to it.
At a Glance
| Category | Dashboard |
| Access | Write |
| Destructive | Yes: it changes widget toggles in bulk |
| MCP tool name | premium-addons/disable-unused-widgets |
| Available since | Premium Addons v4.11.85 |
Before You Start
This ability is part of the AI Abilities feature. If you have not set it up yet, follow the Elementor AI Abilities (MCP Tools) Tutorial first to enable the feature and connect your AI client. The ability must also be switched on under Premium Addons → AI Abilities & MCP Config, in the Dashboard category:
Use Cases
The classic cleanup. Prompt “Which Premium Addons widgets am I actually using? Disable everything I’m not.” The AI scans, disables the unused widgets, and reports exactly which toggles it flipped.
Preview before committing. Ask “Show me what you would disable, but don’t touch anything yet.” The AI runs the ability with dry_run and you get the candidate list with nothing changed.
Make it a routine. After every big content change, ask the AI to “run the unused-widgets cleanup again.” Widgets that dropped out of use since last time get switched off; everything in use stays on.
Good to Know
- The
dry_runinput is the safety valve: true returns the unused list without disabling anything. If you want to look before you leap, this is how. - The output separates
unused(everything not in use, including widgets already off) fromdisabled(what this call actually switched off), so there is no guessing about what changed. - A disabled widget is only a toggle away from coming back: re-enable it with
premium-addons/update-settingor from the Premium Addons dashboard. - Only widgets with zero usage are touched. Anything used even once stays enabled.
- The returned keys match
premium-addons/get-settings, so the AI can verify or reverse its own cleanup. - Dashboard abilities require an administrator: the connected WordPress user must be able to manage options.
Inputs
| Parameter | Required | Description |
|---|---|---|
dry_run | No | When true, only reports what would be disabled. Defaults to false. |
Output
| Field | Description |
|---|---|
unused | Every Premium Addons widget not used on the site, including ones already disabled. |
disabled | The widgets this call switched from enabled to disabled. Empty on a dry run. |
Come & Join the Community
Feel free to join our Facebook group and subscribe to our YouTube channel to keep up with our newest features, improvements, and helpful video tutorials.