[wp-trac] [WordPress Trac] #39525: Send template candidates along with {$type}_template filter
WordPress Trac
noreply at wordpress.org
Tue Jan 10 10:11:57 UTC 2017
#39525: Send template candidates along with {$type}_template filter
-------------------------+------------------------------
Reporter: mschadegg | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
-------------------------+------------------------------
Comment (by mschadegg):
I have used that filter, to save the hierarchy as a property in a class,
so I can use it in the other filter afterwards. So yes, it makes it
possible to do what I want to accomplish, but I don't think it is a proper
way to do it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39525#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list