asprin Active member Nov 2, 2020 #1 Is there way to determine display condition of a public navigation node via PHP callback code? 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?
Is there way to determine display condition of a public navigation node via PHP callback code? 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?
P Paul B XenForo moderator Staff member Nov 2, 2020 #2 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.
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.