wp_elementor_update_image
Update an Elementor image widget: find it by element ID or matching URL, then set its image ID, URL, or caption.
Instructions
Update an image widget by element_id or match_url. Set image_id, image_url, and/or caption.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| page_id | Yes | ||
| image_id | No | WordPress attachment ID | |
| image_url | No | Image URL | |
| match_url | No | Find image by current URL substring | |
| element_id | No | Target element ID (preferred) |