How to pass $thread variable to ad_below_top_breadcrumb?


Active member
It's available in the thread_view template, but it's not available in ad_below_top_breadcrumb, how do I pass it in?
I know I can go down the full callback route and do it, but I'm sure as it's already available that there's an easy way to pass it in.

FYI, I only need to use it in thread_view anyway.
It's for a conditional to not load AdSense in threads with a NSFW prefix.