S
YOP Poll Content

Set who can vote: guests, registered users, or both

Set who can vote: guests, registered users, or both

What it does

Set who can vote: guests, registered users, or both It is one of the abilities the YOP Poll plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_users

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

yop-poll.set-who-can-vote-guests-registered-users
{
  "ability": "yop-poll.set-who-can-vote-guests-registered-users",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More YOP Poll abilities

All YOP Poll abilities β†’
S
Schedule polls to start and end automatically β€” perfect for
YOP Poll
Schedule polls to start and end automatically β€” perfect for time-bound campaigns
S
Sort answers in any order β€” exact, alphabetical, by votes,
YOP Poll
Sort answers in any order β€” exact, alphabetical, by votes, ascending, or descending
D
Display results before voting, after voting, on a custom
YOP Poll
Display results before voting, after voting, on a custom date, after the poll ends, or never
B
Block voters by cookie, IP, or username
YOP Poll
Block voters by cookie, IP, or username
D
Display polls anywhere with shortcodes, widgets, or by poll
YOP Poll
Display polls anywhere with shortcodes, widgets, or by poll ID