wp_elementor_flush_css
Flush Elementor's CSS cache after programmatic _elementor_data updates. Supports site-wide or per-page clearing with automatic REST, wp-cli, or direct fallback.
Instructions
Flush Elementor's CSS cache on a site using the 3-level fallback strategy (REST endpoint → wp-cli native → option/meta delete). Always call after writing _elementor_data programmatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wp_elementor_flush_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| page_id | No | Optional: flush only this page's cache. If omitted, flushes site-wide. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| details | No |