Skip to content

Shortcodes 1.0.25 / Mappings

Map a shortcode to a command

Publish one explicitly approved WordPress shortcode through a stable terminal command.

Open Cointacted → Shortcodes and add a mapping. Choose a terminal command, group, description, registered shortcode tag, fixed defaults, argument policy, audience, and output mode.

The plugin is an allowlist, not a generic shortcode console. A visitor cannot choose an arbitrary tag. The server resolves the saved mapping, repeats access checks, builds only the approved shortcode, renders it, and converts output into terminal-safe lines.

Record the owning plugin and minimum version, fixed and user-supplied attributes, expected empty state, audience, maximum output, and behavior when the owner is inactive. Test with a non-administrator account before publishing.

Was this documentation helpful?Your response helps us improve this page.