D
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code Content

Display="…" overrides the visible label when it must differ

display="…" overrides the visible label when it must differ from the copied string (masked secrets, mailto links, etc.).

What it does

display="…" overrides the visible label when it must differ from the copied string (masked secrets, mailto links, etc.). It is one of the abilities the Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code 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:

copy-the-code.display-overrides-the-visible-label-when
{
  "ability": "copy-the-code.display-overrides-the-visible-label-when",
  "args": { "input": ... }
}

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

Keep exploring

More Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code abilities

All Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code abilities →
A
Add copy buttons visually using dedicated Elementor widgets
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Add copy buttons visually using dedicated Elementor widgets.
I
Insert copy buttons directly inside the WordPress block
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Insert copy buttons directly inside the WordPress block editor using Gutenberg blocks.
T
Track this shipment: [copy]1Z999AA10123456784[/copy]
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Track this shipment: [copy]1Z999AA10123456784[/copy]
D
Display Conditions – Show copy buttons only on specific
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Display Conditions – Show copy buttons only on specific pages, posts, categories, or custom conditions.
A
Add copy buttons to blockquotes
Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code
Add copy buttons to blockquotes