XF 2.1 Public navigation display condition based on some PHP logic?

asprin

Active member
Is there way to determine display condition of a public navigation node via PHP callback code?
1604330370448.webp

I would like to show this link only after performing some logic check (a function that returns either or false) based on some things. Is this possible?
 
If the check result value is assigned to a var and the var is made available to something like xf.app or xf.visitor, then yes.
 
Back
Top Bottom