API Reference

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

ParameterTypeRequiredDescription
popup_idintegerYesPopup Id
show_on_pagesarrayNoShow On Pages
exclude_pagesarrayNoExclude Pages
hide_for_logged_inbooleanNoHide For Logged In
max_showsintegerNoMax Shows
show_on_mobilebooleanNoShow On Mobile
show_on_desktopbooleanNoShow On Desktop

Related WordPress tools

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.