Get current thread in page_container_head hook

ND Daniel

New member
I would like to get the current thread or at least the thread_id in the page_container_head hook. Anyone knows how to do that?

The purpose is to be able to do something like this:
if ($hookName==='page_container_head') {
$contents.= "ThreadId: ".$thread['thread_id'];
}
 
Back
Top Bottom