Summery Summery
Filters list of page templates for a theme.
Syntax Syntax
Description Description
The dynamic portion of the hook name, $post_type
, refers to the post type.
Parameters Parameters
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Added the $post_type parameter. |
4.4.0 | Converted to allow complete control over the $page_templates array. |
3.9.0 | Introduced. |