WordPress / API Reference
wp_popup_set_display_rules
WordPress tool. Set display conditions — which pages to show on, user targeting, frequency
This is a read-only tool: it returns popup set display rules 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 display rules in my WordPress account for [popup id].
It takes 1 required and 6 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
popup_id | integer | Yes | Popup Id |
show_on_pages | array | No | Show On Pages |
exclude_pages | array | No | Exclude Pages |
hide_for_logged_in | boolean | No | Hide For Logged In |
max_shows | integer | No | Max Shows |
show_on_mobile | boolean | No | Show On Mobile |
show_on_desktop | boolean | No | Show On Desktop |
Related WordPress tools
wp_popup_set_contentwp_popup_set_triggerwp_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.