eDaddi
Active member
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 accessible on the Account Upgrades page/template
![Screen Shot 2022-06-07 at 3.22.27 PM.png Screen Shot 2022-06-07 at 3.22.27 PM.png](https://xenforo.com/community/data/attachments/268/268517-ea0935817961b3239ad4ba44052c1d0b.jpg?hash=6gk1gXlhsy)
How do you find the callback that made the var available there?
My goal is to get available user upgrades in a widget to display in their related forum's sidebar.
Specifically the 'available' variable thats accessible on the Account Upgrades page/template
![Screen Shot 2022-06-07 at 3.22.27 PM.png Screen Shot 2022-06-07 at 3.22.27 PM.png](https://xenforo.com/community/data/attachments/268/268517-ea0935817961b3239ad4ba44052c1d0b.jpg?hash=6gk1gXlhsy)
How do you find the callback that made the var available there?
Last edited: