XenForo Back-tracing how a variable got into a template

E

eDaddi

Guest
Curious how XF devs quickly find out how a variable became available in a template... and make it available in other places.

My goal is to get available user upgrades in a widget to display in their related forum's sidebar.

Specifically the 'available' variable thats available on the Account Upgrades page/template
Screen Shot 2022-06-07 at 3.22.27 PM.png


How do you find the callback that made the var available there?

Continue reading...