Get Active Theme Info 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 →

Get Active Theme Info

Read-only

Read the active theme's identity, parent/child relationship, and declared capabilities.

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 reads the active WordPress theme's identity and capabilities directly from core theme APIs: the active (stylesheet) and parent (template) slugs, whether the active theme is a child theme, whether it's a block theme, its display name and version, the absolute server paths of its stylesheet and template directories, which of a fixed probed list of theme features it supports (post-thumbnails, custom-logo, editor-styles, wp-block-styles, align-wide, responsive-embeds, custom-background, html5), its registered nav menu locations, and whether any installed theme is a child of it. It takes no input. This gives an AI assistant the theme boundaries and capabilities to work within before proposing design or Elementor changes.

See it in action

You ask your AI assistant

"What theme is this site running, and does it support a custom logo?"

Returns

An object with active (stylesheet slug), parent (template slug), is_child, is_block_theme, name, version, stylesheet_dir, template_dir, supports (array of supported probed feature slugs), menu_locations (object of location slug to description), and has_child.

Permission

The current user must have the 'manage_options' capability, checked via Admin_Helper::check_user_can('manage_options').

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.