XF 1.2 Conditional Statement on Hook Content

Deddy

Member
Hi All,

I am wondering if there's a conditional statement for the hook element to say if the hook is being used. or there's content on the hook then the condition is true.

I have an Ad add-on that uses hook. I wanted to do some additional cosmetic stuff like borders of the add-on
when the add-on is activated.

Cheers.
 
There is no condition which will do that.

I'm not entirely clear on what it is you're doing.
You should though be able to do it with a template modification, which should now be used in favour of hooks which have been deprecated.
 
Back
Top Bottom