ShortcodeDefinition.php
middag-io/wordpress — MIDDAG WordPress adapter.
Tags
Table of Contents
Classes
- ShortcodeDefinition
- Declarative shortcode: tag + render callback, registered by {@see DefinitionRegistrar}. The callback receives the standard WP shortcode signature `(array|string $atts, ?string $content, string $tag)` and returns the markup (shortcodes must return, never echo).