Reusable functions and tools (Framework)
I do have a few PHP custom functions that I use almost every time on my applications. Those functions are not all related to WordPress, but some are and thus need that WP is initialized before I can use them (generic load for the text domain or custom post queries for example).
I would like to be able to use those function in all my WP applications (themes and plugins) and I wanted to know where would be the best place to put them.
I first thought that I might use a master parent theme that would be the parent theme on all my websites, but I don't know if that would be sufficient as the theme is only loaded after the plugins and I don't know if some hooks might be triggered before my theme is loaded.
Any thoughts?
Topic framework child-theme plugin-development plugins themes Wordpress
Category Web