I'm working on a CMS based on Zend Frameowrk and I'm triying to get the mos usefull features from wordpress. One of these is the use of functions.php in the template directory and I think I could do it for my CMS. What about adding a Class in the theme directory (templates/public) and calling (instanciate) it in the bootstrap. What do you think??
migrated from stackoverflow.com Jul 5 '11 at 13:03
This question came from our site for professional and enthusiast programmers.
This really has little to do with WP. Processing of that file is simple inclusion, I don't see any complexity to it.
Relevant code from WP core: