I have a section of PHP code that I would like to place in a directory somewhere and then within my custom WordPress page templates, make reference to this code library at a specific point in my page template.
Can I create my own WordPress hook to grab this code and place it where I want it used?
in your wordpress templates you can use php code. therefore just do an