Documentation

ShortcodeDefinition
in package

Read onlyYes
FinalYes

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).

Table of Contents

Properties

$render  : mixed
$tag  : string

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(non-empty-string $tag, mixed $render) : mixed
Parameters
$tag : non-empty-string
$render : mixed
On this page

Search results