Reference

Guide

kirbytags:before

$text, $data, $options

Example

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