XF 1.5 Hide Expression from guests

Zachary Ball

Active member
in_array($forum['node_id'], array(7))

I have this as a hook:ad_above_content and would like to hide it from guests. Anything I can add to my expression?
Is that related to an add-on?

The default conditional statement to hide something from guests/only show to logged in members is <xen:if is="{$visitor.user_id}">.
Top Bottom