WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15141 closed enhancement (duplicate)

New filter for get_(header|footer|sidebar|template_part) functions.

Reported by: 5ubliminal Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

It would be cool if plugins were allowed to hook into the $templates variable and it would be cooler if I didn't have to hack the core on every release :)

I attached a patch. Let me know what you guys think.

Attachments (1)

get_templates_filter.patch (2.6 KB) - added by 5ubliminal 3 years ago.
Patch file with new feature.

Download all attachments as: .zip

Change History (2)

5ubliminal3 years ago

Patch file with new feature.

comment:1 scribu3 years ago

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

This is already addressed in #14310

Note: See TracTickets for help on using tickets.