[wp-trac] [WordPress Trac] #51658: Themes: Allow template loading functions to filter templates to search for
WordPress Trac
noreply at wordpress.org
Wed Oct 28 15:50:47 UTC 2020
#51658: Themes: Allow template loading functions to filter templates to search for
-------------------------+-----------------------------
Reporter: amibe | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: template |
-------------------------+-----------------------------
Allow template loading functions to filter templates to search for.
This affects:
* {{{get_header()}}}
* {{{get_footer()}}}
* {{{get_sidebar()}}}
* {{{get_template_part()}}}
Note: there's an added check such that if the templates value returned is
{{{empty()}}} the function returns false.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51658>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list