WordPress / API Reference
wp_popup_set_trigger
WordPress tool. Set when a popup should appear (trigger type and options)
This is a read-only tool: it returns popup set trigger for your WordPress account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Popup set trigger in my WordPress account for [popup id], [trigger].
It takes 2 required and 4 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
popup_id | integer | Yes | Popup Id |
trigger | string | Yes | Trigger |
delay | integer | No | Delay |
scroll_percentage | integer | No | Scroll Percentage |
click_selector | string | No | Click Selector |
inactivity_seconds | integer | No | Inactivity Seconds |
Related WordPress tools
wp_popup_set_contentwp_popup_set_display_ruleswp_popup_activatewp_popup_analytics_getwp_popup_createwp_popup_deactivate
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.