WordPress - Where would I put custom classes and database calls?
I开发者_运维知识库'm working on a WordPress CMS site and I want to add my own classes that make my own calls tot he WordPress database. Where would be the ideal place to put these so they are easily accessible? I'm guessing it would go either in wp-content or wp-includes but I don't know which.
Thank you
You should put them in your template folder, in the functions.php file.
精彩评论