Import Copied Elements is a WordPress ability from Premium Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Import Copied Elements
WriteFetch a packaged copy from another site via its transfer URL and insert the elements into a page on this site, re-creating referenced images and templates.
Requires the Premium Addons for Elementor plugin on WordPress 7.0+ for the Abilities API (abilities are registered only when the wp_register_ability() function exists). Dashboard, settings and site-inventory abilities (get-id-by-title, list-pages, list-templates, get-global-settings, get-settings, update-setting, scan-usage, disable-unused-widgets, clear-dynamic-assets, subscribe-newsletter) require the caller hold the 'manage_options' capability. premium-addons/create-page requires 'edit_pages'. premium-addons/get-widget-schema, premium-addons/get-addon-schema, premium-addons/list-available-elements, premium-addons/list-pa-addons, premium-addons/detect-atomic-support, premium-addons/check-elementor-element and premium-addons/create-elementor-template require 'edit_posts'. premium-addons/get-page-structure, premium-addons/get-element-settings, premium-addons/add-flexbox, premium-addons/add-container, premium-addons/update-element-settings, premium-addons/insert-widget, premium-addons/remove-element, premium-addons/change-post-status and premium-addons/duplicate-post require 'edit_post' on the target post_id, and deny requests for a nonexistent post_id outright.
What it does
This ability completes the other half of premium-addons/export-elements: given a transfer_url and a target_page_id, it fetches the packaged payload server-to-server (consuming the single-use token, so the same URL cannot be imported twice) and writes the copied elements into the target page without removing any of its existing content. You can append the elements at the end of the page (the default) or insert them at a specific zero-based index among the page's top-level elements. Every copied element's id is regenerated to avoid colliding with ids already on the target page, and any Elementor templates the copy references are installed — reused if a template with the same title already exists here, created otherwise. The import always completes rather than aborting on a partial problem: anything that couldn't be fully reproduced (an image that failed to re-create, a widget that isn't installed or is Pro-gated here, a template that failed to install, or templates nested past the bundling depth limit) is reported back as a deduplicated warnings array instead of being silently dropped.
See it in action
You ask your AI assistant
"Import the section I copied from my other site into this page, appending it to the end."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| transfer_url | string | Yes | The transfer URL returned by premium-addons/export-elements on the source site. It is single-use and expires, so import it within the window reported by expires_at. |
| target_page_id | integer | Yes | The ID of the Elementor page, post or template on this site to add the copied elements to. Existing content on that page is never removed. |
| position | string | No | Where the copied elements land: append (default) puts them at the end of the page, index puts them at a specific position. |
| index | integer | No | Required when position is index. Zero-based position among the page's top-level elements; the first copied element lands here and the rest follow in order. An index past the end appends. |
Returns
An object with inserted_element_ids (the newly inserted top-level element ids, regenerated from the source ids), edit_url (the Elementor editor URL for the target page), templates (array of { title, post_id, action: created or reused }), and warnings (array of { type: failed_media | missing_widget | pro_gated | template_failed | template_depth_exceeded, detail } for anything that couldn't be fully reproduced)).
Permission
The current user must have both the 'edit_post' capability for target_page_id and the 'upload_files' capability; requests for a nonexistent target_page_id are denied outright.
More Premium Addons for Elementor abilities
Add Container (Elementor v3)
Add a new Elementor v3 (classic) container to a page, with layout, background, border and spacing already set.
Add Flexbox (Elementor v4 atomic)
Add a new Elementor v4 atomic flexbox container to a page, with layout, background, border and spacing already set.
Change Post Status
Change the status of a page, post or Elementor template (e.g. draft to publish).
Check Copy Compatibility
Check whether this site can render elements copied from another site via a transfer URL, before actually importing them.
Check Elementor Element
Check whether a specific element or widget type is registered on the site before trying to build with it.
Clear Premium Addons Dynamic Assets
Clear generated dynamic CSS/JS asset files and purge the related caches.