Skip to main content

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

NameTypeDescription
$templatesarrayNames of template files that should be looked for, for given slug and name.
$slugstringTemplate slug.
$namestringTemplate variation name.

Since

Source

Defined in future/lib/class-gamajo-template-loader.php at line 204