Update Page Meta is a WordPress ability from Ultimate Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Update Page Meta

Write

Updates the title, Elementor page template, and/or featured image of a WordPress page or post.

Requires the Ultimate Addons for Elementor (Header Footer & Elementor) plugin on WordPress 6.9+ (the WP Abilities API). No ability registers unless the plugin's 'Enable AI Tools' master switch (uae_mcp_settings.enable_abilities) is turned on in settings. Most abilities require the 'manage_options' capability; a smaller set of read/discovery abilities (template and page listing, the Elementor builder read/list/schema abilities, active-template lookup, display-rule locations, and design tokens) instead require only 'edit_posts' or 'read'. Abilities that act on a specific page, post, or template additionally check the current user's per-object 'edit_post' (or 'delete_post') capability on that item. Separately, every non-readonly (Write or Destructive) ability is gated behind a site-wide 'Allow Modifications' setting at registration time: if it is off, none of those abilities are even registered with the WP Abilities API, regardless of capability checks — this covers all template/page CRUD, widget/extension toggles, display-rule updates, theme/settings changes, and the Elementor builder writes alike, not just the builder ones. Eight of those abilities (the seven Elementor page-builder writes — build, insert-widget, update-widget, remove-element, move-element, add-section, add-column — plus pages-create) additionally re-check this same setting explicitly inside execute() as a redundant safeguard.

What it does

After validating the post via validate_elementor_post(), conditionally updates whichever fields are supplied: the post title via wp_update_post(), the '_wp_page_template' meta to elementor_header_footer/elementor_canvas/default (deleting the meta for 'default'), and the featured image via set_post_thumbnail() or delete_post_thumbnail() when featured_image_id is 0 (validating the attachment exists first). Returns which fields were actually updated; errors if none of the optional fields are provided.

See it in action

You ask your AI assistant

"Change the featured image of page 55 to attachment 900 and update its title to "New Homepage"."

Inputs

Name Type Required Description
post_id integer Yes The page or post ID to update.
title string No New page/post title.
page_template string No Elementor page template (enum: elementor_header_footer, elementor_canvas, default).
featured_image_id integer No Attachment ID for featured image; pass 0 to remove.

Returns

An object with success, post_id, and updated_fields (an array listing which of title/page_template/featured_image were changed).

Permission

Requires current_user_can('manage_options'); execute() also calls validate_elementor_post() (400/403 on failure) and validates any supplied featured_image_id/page_template value. No check_modifications_allowed call is present.

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.