Export Elements for Copy 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 →

Export Elements for Copy

Write
Premium Addons for Elementor Page Builders premium-addons/export-elements

Package one or more elements from a page — or the whole page — into a signed, single-use transfer URL for copying to another site.

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 packages Elementor elements from a page, post or template for transfer to a different WordPress site. Given a page_id, it exports the whole page by default, or only the elements listed in element_ids (each exported with everything nested inside it) — every listed id must exist on the page or the entire export fails, and passing both a parent and one of its own children will duplicate that child on import. Any Elementor templates the exported widgets reference by title are bundled along with it so they travel with the copy. Rather than returning the packaged content itself, it stores it server-side and returns a signed, time-limited transfer_url (with an expires_at Unix timestamp) meant to be handed to premium-addons/import-elements or premium-addons/check-import-compatibility on the destination site, plus a summary (element count, distinct widget keys, bundled templates) so the selection can be sanity-checked without downloading the payload.

See it in action

You ask your AI assistant

"Package the testimonials section on my homepage so I can copy it to my other site."

Inputs

Name Type Required Description
page_id integer Yes The ID of the Elementor page, post or template to export from.
element_ids array No Element ids to export, in the order they should land on the destination. Each id is exported with everything nested inside it. Omit or leave empty to export the whole page. Every id must exist — one bad id fails the whole export. Passing a parent and one of its own children duplicates that child on import.

Returns

An object with transfer_url (a signed, single-use URL for the destination site to fetch), expires_at (Unix timestamp the URL stops working at), and summary (element_count, widget_keys, and a templates array of { title, template_type, element_count } for anything bundled).

Permission

The current user must have the 'edit_post' capability for the target page_id; requests for a nonexistent page_id are denied outright.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.