R
Block Visibility — Conditional Visibility Control for the Block Editor Content

Restrict visibility controls to specific block types

Restrict visibility controls to specific block types.

What it does

Restrict visibility controls to specific block types. It is one of the abilities the Block Visibility — Conditional Visibility Control for the Block Editor 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_posts

How an agent calls it

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

block-visibility.restrict-visibility-controls-to-specific
{
  "ability": "block-visibility.restrict-visibility-controls-to-specific",
  "args": { "input": ... }
}

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

Keep exploring

More Block Visibility — Conditional Visibility Control for the Block Editor abilities

All Block Visibility — Conditional Visibility Control for the Block Editor abilities →
C
Create Conditional Blocks in Seconds!
Block Visibility — Conditional Visibility Control for the Block Editor
Create Conditional Blocks in Seconds!
C
Create your content using any WordPress block
Block Visibility — Conditional Visibility Control for the Block Editor
Create your content using any WordPress block.
S
Schedule when content should be visible using a start and
Block Visibility — Conditional Visibility Control for the Block Editor
Schedule when content should be visible using a start and end date/time.
D
Display blocks based on a website visitor's referral source
Block Visibility — Conditional Visibility Control for the Block Editor
Display blocks based on a website visitor's referral source (domain/URL).
D
Display blocks based on HTML cookies
Block Visibility — Conditional Visibility Control for the Block Editor
Display blocks based on HTML cookies .