Throwing this in themes as it's about a template. portion...
I'm working on a plugin that throws some site specific data in the user profile/homepage.
At the moment, I'm simply trying to fire it off, inline, after the div it'll populate.
loadArrayOfStuff( [ 1, 1, 1, 1, 1, 1, 1 ] );
So far as I can see, this just flat out doesn't work. The loading method for the template doesn't trigger the function call.
I did a few cursory searches but didn't find anything that SEEMED to apply. What is the recommended way to do the thing here?
I only want this to fire on the profile, so I don't think I want stick this in a widget...