Closed pippinsplugins closed 9 years ago
It saves a lot of code :)
Oh didn't know about template loader API. Definitely gonna switch to this, thanks!
This is why open source is so cool: 07276e0b31a710828846656d87e99f29061a8b0e.
:)
See also commit 6b999b7817767ba30b83fe7d3b8064db681bfe86.
EDD's template loader API actually allows you to register a custom file location, so there's no need to use a customer template loader. For example, to register a "templates" folder in your plugin's directory (this comes straight from Software Licensing):