Skip to content
Corex

StatRenderer

Corex\Ui\Blocks\StatRenderer · class · Add-ons layer

Renders a single statistic — a prominent value, a label, and an optional supporting line — as accessible, escaped, token-styled markup. Empty value AND label render nothing (graceful default).

render(array $attributes, string $content, object $block): string

Section titled “render(array $attributes, string $content, object $block): string”