• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to pass $thread variable to ad_below_top_breadcrumb?

Marcel

Active member
#1
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.