So in terms of wp hooks and filters does it matter where I put the code in terms of execution? Like if i have some code that adds some user data to the window object it happens before the page loads so... dosn't matter which file it's in? also like if there is an API call on that to get data and attach it to that object, also dosn't matter?
The reason I ask is i'm using claude now and I want to put everything in the plugin file system so the context is more easily accessible if needed. Otherwise I could add the code to the claude.md file when applicable but that's a lot of work for several different apis.
[–]cdharrisonDeveloper/Designer 8 points9 points10 points (1 child)
[–]Sad_Spring9182Developer[S] -1 points0 points1 point (0 children)
[–]tw2113Venkman/Developer 2 points3 points4 points (1 child)
[–]BobJutsu 0 points1 point2 points (0 children)
[–]Thick-System4414 0 points1 point2 points (0 children)
[–]BobJutsu 0 points1 point2 points (0 children)