Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#24333 closed enhancement (duplicate)

Add Filter in get_page_templates()

Reported by: luehrsen's profile luehrsen Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Template Keywords:
Focuses: Cc:


Although we can ingest custom page templates with the "template_redirect" action, it is not possible to ingest (and select) these templates with the page template dropdown. Therefore I would suggest adding a filter to maniuplate (array) $page_templates in class-wp-theme.php on line 940 ( WP_THEME::get_page_templates() ).

Change History (1)

#1 @SergeyBiryukov
10 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from trunk to 3.5
Note: See TracTickets for help on using tickets.