Skip to content

Kirby 4.4.1

kirbytext:before

/site/config/config.php
return [
    'hooks' => [
        'kirbytext:before' => function (string $text) {
            // your code goes here
            return $text;
        }
    ]
]

Parameters

Parameter Type
$text string

Further information

See The order of kirbytext/kirbytags hooks