I have a run_query function that is called every time a query is run. The problem I'm having is that I run queries from within other functions, and would like access to this function.
Is the only way to do this to include the file containing the run_query function in every function that uses it, or is there a simpler way?