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

Write

Configures 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.

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.