wpseek.com
A WordPress-centric search engine for devs and theme authors
theme_{$post_type}_templates › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( "theme_{$post_type}_templates", $post_templates, $this, $post, $post_type )
Parameters: (4) |
|
Defined at: |
|
Codex: |
Filters list of page templates for a theme.
The dynamic portion of the hook name, $post_type
, refers to the post type.
Possible hook names include:
theme_post_templates
theme_page_templates
theme_attachment_templates
Related Functions: get_post_type_archive_template, get_post_type_labels, get_page_templates, get_date_template, get_page_template, get_paged_template