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