The AcrossAI blog
Archives: Abilities
Update Elementor Document Data
Overwrite the full document tree for a post with a caller-supplied element array. Guarded by force_replace when replacing a populated document with a smaller…
Create Code Snippet
Create a snippet of any supported type. It is created inactive, and goes through WPCode’s own save routine so the loader cache, the code-type…
Patch Elementor Document Data
Find and replace text within a document’s serialised JSON — updating text in any control in one pass. Case-sensitive.
Update Code Snippet
Change an existing snippet’s code, title, note, priority, tags or shortcode. If the snippet is active, WPCode re-runs its activation check on save —…
Clone Elementor Document Data
Copy the full Elementor tree from one post to another with fresh element IDs throughout, optionally including page settings.
Activate Code Snippet
Switch a snippet on. For PHP and universal snippets WPCode test-runs the code first and quietly leaves it off if it errors — this…
Update Elementor Page Settings
Update document-level settings — layout, title, background, custom CSS. Merges new keys into existing settings unless you ask for a full replace.
Deactivate Code Snippet
Switch a snippet off. The code is kept, so it is fully reversible — and it is the right first move when a snippet…
List Elementor Templates
Saved templates from the Elementor library, filterable by type and status.
Duplicate Code Snippet
Copy an existing snippet. The copy is created inactive with “Copy” appended to its title, using WPCode’s own duplicate routine so the code survives…