I’ve had a sneaking suspicion that a global would be the best way to do it, I just have an irrational fear of using global variables when I’m not the only person writing the code.
As far as implementation specifics, I was thinking I would make a function loading the global array and then just call it once with the init add_action. Is this what you do Chip? (And thanks for the response.)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Should I load my theme's options as a global?’ is closed to new replies.