GaryJones / Gamajo-Template-Loader

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

Data parameter in get_template_part #39

Open palmiak opened 3 years ago

palmiak commented 3 years ago

Hi @GaryJones

While looking at the code I noticed that get_template_part is not using the $args array which was introduced in WP 5.5.

And I was wondering are you planning to add this or maybe PR is welcome for this?

GaryJones commented 3 years ago

If it can be introduced with a consideration of backwards-compatibility (or I can bump the major version), then PRs welcome :-)