# My custom kirbytags
'tags' => [
# Overwrite the default (link:)
'link' => require_once __DIR__ . '/inc/tags/link.php'
],
…and overwrite a bunch of default kirby tags with my custom versions.
I can’t seem to find the correct way to have the code for the tag in a separate file though.
The code for the tag itself works just fine when placed inside the plugin index.php but I want to split everything into chunks.
@manuelmoreale It also works the way you originally planned to do it, maybe you didn’t return anything from your file? That’s why I asked what you had in that file.