TemplateFiles final class
Minn\Runtime\TemplateFiles · public/minn/src/Minn/Runtime/TemplateFiles.php · 44 lines
The theme templates WordPress's template functions name: the index and embed templates found through the hierarchy, the slugs a block template stands for, and the template types and part areas core knows.
Public
| static | index(): mixed# | The theme's index template (get_index_template). |
| static | embed(): mixed# | The template an embed is shown with (get_embed_template): embed-{type}-{format}.php, embed-{type}.php, then embed.php. |
| static | hierarchy(mixed $slug, mixed $isCustom = false, mixed $templatePrefix = ''): array# | The template slugs a slug stands for, most specific first (get_template_hierarchy). @return list<string> |
| static | defaultTypes(): mixed# | The template types core knows (get_default_block_template_types), as default_template_types leaves them. |
| static | partAreas(): mixed# | The template part areas core knows (get_allowed_block_template_part_areas), as default_wp_template_part_areas leaves them. |
Nothing matches.