Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#27967 closed feature request (duplicate)

Update 'theme_page_templates' filter hook to enable addition of page templates.

Reported by: euge444 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Themes Keywords:
Focuses: Cc:


The 'theme_page_templates' filter introduced in version 3.9 does not allow templates to be added. Is it intended that at some point it will allow this functionality?

Change History (1)

#1 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

theme_page_templates filter was specifically introduced for removing and renaming page templates, see #27334.

See #13265 for adding page templates.

Note: See TracTickets for help on using tickets.