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
Remove `array` casting from `set_template_data` #32
Closed
jtsternberg closed 7 years ago
The
$data
var is cast to an object, so no reason to require an array coming in. See: https://github.com/GaryJones/Gamajo-Template-Loader/issues/31#issuecomment-282184854