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'];
}