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