You should probably use tp.file.include()
rather than tp.hooks
, as they serve different purposes, and the former seems more like what you want to do. tp.hooks
is for hooking into Templater events, and currently, the only one available is on_all_templates_executed
.