Add filter to page_template_dropdown()
|Reported by:||meloniq||Owned by:||DrewAPicture|
|Component:||Posts, Post Types||Keywords:||has-patch|
page_template_dropdown() is used in 'Page Attributes' metabox to list available page templates. The filter hook will give ability to adjust what's displayed in this box.
We use many custom templates to perform some specific tasks like building frontend dashboards, submit/edit forms, login pages, etc.
As far it works well, but the 'Page Attributes' metabox fulfill with page templates that in most of cases are not intended for any other use, and some administrators get confused seeing full list of available templates while creating a new page.
Change History (17)
2 years ago
- Milestone changed from Awaiting Review to 3.8
7 months ago
- Owner set to DrewAPicture
- Resolution set to fixed
- Status changed from new to closed