Posts & content
25 tools15 read-only · 10 writeShowing 10 of 10 tools
- elementor_document_replaceWriteDestructive
[ADM WordPress] Replaces a page's entire Elementor document. The JSON is parsed and structurally validated before anything is written — a document with a missing or duplicate element id renders as a blank page with no error, so it is refused rather than saved. This REPLACES the whole layout: everything not in the new document is gone. Call elementor_document_replace_preview first to see what that removes. Takes a checkpoint of the whole previous document and regenerates the CSS. Modifies the live site.
- elementor_document_replace_previewRead-only
[ADM WordPress] Validates a replacement Elementor document and reports what swapping it in would do — how many elements and widgets go, arrive and stay — without changing anything. Read-only, so it works on a site with writes switched off. Call it before elementor_document_replace.
- elementor_page_createWrite
[ADM WordPress] Creates a new page AND makes it a real Elementor document in one call — the page, its layout, its page template and its builder flags. Creating a page with wordpress_page_create and then writing Elementor data to it does NOT work: a page only renders through Elementor when its builder flags are set at creation, which is what this does. Copy a layout with `template_id` (any id from elementor_pages, including a library template) or supply one with `document` from elementor_document_get. DEFAULTS TO DRAFT — nothing is visible to visitors until you pass status='publish' or publish it later with wordpress_page_update. Modifies the live site.
- elementor_text_replaceWriteDestructive
Replaces text in one Elementor widget setting, identified by post id, element id and setting key. Parses the document, changes that one setting, and writes the whole document back — it never does text substitution across the raw JSON, because a blind replace can match inside a CSS class or URL and corrupt the document, which renders as a blank page with no error. Takes a checkpoint of the whole document first and regenerates Elementor's CSS afterwards. Modifies the live site.
- elementor_text_replace_previewRead-only
Shows exactly what one Elementor text change would do — the current value, the proposed value, and how many occurrences match — without changing anything. Call this before elementor_text_replace so the change can be described before it is made. Read-only.
- elementor_text_searchRead-only
Searches the visible text of Elementor pages for a phrase and returns every match with its post id, element id and setting key — exactly what elementor_text_replace needs. This is how you find a typo that ordinary post search cannot see, because Elementor text is not in post_content. Read-only.
- elementor_widget_settings_updateWriteDestructive
[ADM WordPress] Sets any settings on one Elementor widget — images, links, colours, shortcodes, alignment, anything the widget stores — identified by post id and element id. This is the general editor; elementor_text_replace is the narrow one that only touches prose. Because this can write ANY setting, it can also break a layout, so call elementor_widget_settings_update_preview first. The document is parsed, the named settings are changed, and the whole document is written back — it never does text substitution across the raw JSON. Takes a checkpoint of the whole document first and regenerates Elementor's CSS afterwards. Modifies the live site.
- elementor_widget_settings_update_previewRead-only
[ADM WordPress] Shows exactly what changing one widget's settings would do — the current value and the proposed value for every key — without changing anything. Call this before elementor_widget_settings_update. It is read-only, so it also works on a site that has writes switched off, which makes it the way to check a whole page build before enabling writes. Read-only.
- seo_indexing_issuesRead-only
Scans published posts and pages for the settings that quietly keep them out of search results: per-post noindex, a missing or over-length meta description, a missing SEO title, and a canonical pointing elsewhere. Combines that with the site-wide robots.txt and 'discourage search engines' setting. Read-only. This reports what the site is telling search engines, not what Google has actually done with it -- for that, pair it with the Google Search Console connector: google_search_console_inspect_url gives Google's real index status for a specific URL.
- seo_metadata_getRead-only
Reads the SEO title, meta description, canonical URL, robots directives and focus keyword for one post or page, from whichever supported plugin is active. An empty title or description means the plugin is falling back to its template, not that the page has none. Read-only.
+ 15 more posts & content tools — see the full catalogue