Filter: $this->filter_prefix . _get_template_part
Allow template choices to be filtered.
The resulting array should be in the order of most specific first, to least specific last. e.g. 0 => recipe-instructions.php, 1 => recipe.php
Parameters
| Name | Type | Description |
|---|---|---|
| $templates | array | Names of template files that should be looked for, for given slug and name. |
| $slug | string | Template slug. |
| $name | string | Template variation name. |
Since
- 1.0.0
Source
Defined in src/Template/GamajoTemplateLoader.php at line 204