Discovered tpl_getparent() function :$