kirbytags:before /site/config/config.php return [ 'hooks' => [ 'kirbytags:before' => function (string $text, array $data, array $options) { // your code goes here return $text; } ] ] Parameters Parameter Type $text string $data array $options array More information The order of kirbytext/kirbytags hooks Columns in KirbyText