Get Template Name in template_hook?


Well-known member
I have a template hook... Is there a possible way to get the name of template that is calling the hook? Basically, its because there are certain hooks which appear in multiple templates; I would like this hook to register in all templates except a specific one, and I dont want to edit the template because I actually want the hook there, I just dont want to add a specific thing to it.