Best practice: Equivalent to Wordpress functions.php

What is the best practice to add custom, global helper functions (something like functions.php in Wordpress)? My guess would be a plugin, but maybe I’m overlooking something.

Thanks

Right!

Note that if you need access to Kirby’s objects, it might be better to use custom methods or page models, depending on context.