Set Popup Settings is a WordPress ability from The Plus Addons for Elementor — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Set Popup Settings
WriteConfigures popup triggers, timing, and display conditions for an Elementor Pro popup.
Requires the The Plus Addons for Elementor plugin (which registers under the 'tpae' ability category) on WordPress 6.9+, with Elementor active. Every ability requires the current user to have the 'edit_posts' capability (and 'edit_post' for the specific post being modified); abilities that create or edit content also verify Elementor and, where relevant, the target The Plus widget are available. A subset of abilities (theme templates, template conditions, dynamic tags, popups, and some custom-code abilities) only register when Elementor Pro is active, and many widget abilities load only in the free plugin when the Pro add-on is inactive.
What it does
For a given popup post, conditionally updates post meta: _elementor_popup_triggers if triggers is provided, _elementor_conditions (slash-joined, same format as set-template-conditions, and clearing the theme builder conditions cache) if conditions is provided, and _elementor_popup_timing if timing is provided. Any omitted parameter is left untouched.
See it in action
You ask your AI assistant
"Set popup 61 to trigger on exit intent and only show once per session."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| post_id | integer | Yes | The popup post ID. |
| triggers | object | No | Trigger settings, e.g. on_page_load, on_scroll, on_click, on_exit_intent, on_inactivity, each with an enabled flag and extra parameters like delay or offset. |
| conditions | array | No | Display conditions, same format as set-template-conditions. |
| timing | object | No | Timing rules such as devices, show_after_x_page_views, show_after_x_sessions, show_up_to_x_times, url_contains, url_not_contains. |
Returns
Returns a success boolean.
Permission
check_site_template_permission requires the edit_theme_options capability; validates post_id (if given) points to an elementor_library entry and checks edit_post capability.
More The Plus Addons for Elementor abilities
Accordion
Adds The Plus Addons "Accordion" widget (tp-accordion) to an Elementor container.
Add Code Snippet
Creates a site-wide Custom Code snippet using Elementor Pro, injecting CSS/JS/meta into the head or body on all pages.
Add Container
Adds a new Elementor flex container to a page or nests it inside another existing container.
Add Container
Adds a flex or grid container to a page, optionally nested inside a parent container.
Add Custom CSS
Adds custom CSS to a specific element or to the entire page (requires Elementor Pro).
Add Custom JavaScript
Adds a custom JavaScript snippet to a page by inserting an HTML widget containing a <script> tag; works with free Elementor.