A class to copy into your WordPress plugin, to allow loading template parts with fallback through the child theme > parent theme > plugin.
GNU General Public License v2.0
292
stars
61
forks
source link
Cache template paths in a local variable. #2
Closed
bradyvercher closed 10 years ago
Cache the possible template paths in
locate_template()
so they don't have to be regenerated while looping through a list of templates.