kirbytext:after /site/config/config.php return [ 'hooks' => [ 'kirbytext:after' => function (string $text) { // your code goes here return $text; } ] ] Parameters Parameter Type $text string Further information See The order of kirbytext/kirbytags hooks