Getting list of installed add-ons without additional query

Jake B.

Well-known member
I need to get an array of all installed Add-ons, I know this is already loaded so I don't want to create an additional unnecessary query. I also know that I can get it using the init_dependencies code event but would rather not create unnecessary listeners on this project as it is a very small and basic add-on for a large client. Just curious if this is available somehow through XenForo_Application or something. I skimmed through XenForo_Application and didn't see anything referencing addon (other than the getDefaultConfig method).

Any help is of course much appreciated :)
 
Top Bottom