Reference

kirbytags:after

$text, $data, $options

Example

/site/config/config.php
return [
    'hooks' => [
        'kirbytags:after' => function ($text, $data, $options) {
            // your code goes here
        }
    ]
]