Skip to content

v1.3.0: Elementor Render Rebuild

Choose a tag to compare

@shutupandshave shutupandshave released this 10 Feb 23:44
· 6 commits to main since this release

New: Server-side Elementor render rebuild

New endpoint: POST /wp-json/communitytech/v1/elementor/render/rebuild

When _elementor_data is updated via the REST API, the data saves correctly but Elementor's PHP frontend renderer doesn't pick up the changes — the rendered HTML stays stale. Previously, the only workaround was opening the Elementor editor in a browser and running elementor.saver.defaultSave().

This release adds a server-side endpoint that loads the Elementor document and calls its save() method, triggering the full save pipeline:

  • Processes and sanitizes elements
  • Regenerates post_content (rendered HTML)
  • Fires elementor/document/after_save hook
  • Rebuilds CSS

MCP tool: rebuild_elementor_render (requires MCP server v1.1.0+)

Usage

POST /wp-json/communitytech/v1/elementor/render/rebuild
{"post_id": 123}