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: Clear Premium Addons Dynamic Assets.
Clear Premium Addons Dynamic Assets lets your AI client clear the CSS and JS files that Premium Addons’ Assets Generator produced, either for one page or for the whole site. The files regenerate automatically on the next visit, rebuilt against the current state of your pages.
Stale generated assets are the usual suspect when a page looks off after edits. This ability is the fix-it button, without digging through the dashboard.
At a Glance
| Category | Dashboard |
| Access | Write |
| Destructive | Yes: it deletes generated asset files (they regenerate on the next page load) |
| MCP tool name | premium-addons/clear-dynamic-assets |
| 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
Fix a page that looks broken after edits. Prompt “The homepage still shows the old styling after your changes, fix it.” The AI clears the homepage’s dynamic assets, they regenerate fresh, and the new design shows.
Finish a build session cleanly. After a long AI editing session across several pages, ask it to “clear the dynamic assets for the pages you touched” so every visitor gets the regenerated files immediately.
Reset site-wide after big changes. After switching themes or bulk-disabling widgets, prompt “Clear all Premium Addons dynamic assets.” Every page regenerates its assets from the current state on its next load.
Good to Know
- The Assets Generator feature must be enabled in the Premium Addons dashboard. When it is off, the ability returns an error instead of pretending to clear something.
- Omit
post_idto clear site-wide; pass it to target one page. The AI can resolve a page title to its ID withpremium-addons/get-id-by-title. - Clearing is safe for content: no page data is touched, only generated CSS/JS files and their caches. The first load after clearing does the regeneration work.
- Dashboard abilities require an administrator: the connected WordPress user must be able to manage options.
Inputs
| Parameter | Required | Description |
|---|---|---|
post_id | No | The page or post whose assets to clear. Omitted, assets are cleared site-wide. |
Output
| Field | Description |
|---|---|
cleared | True when the assets were cleared. |
post_id | The page that was cleared, or empty when cleared site-wide. |
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.