[wp-trac] [WordPress Trac] #16264: Add function get_pages_by_template()
WordPress Trac
noreply at wordpress.org
Sun Dec 13 13:41:25 UTC 2015
#16264: Add function get_pages_by_template()
---------------------------------+------------------------------
Reporter: mikeschinkel | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution:
Keywords: needs-refresh close | Focuses:
---------------------------------+------------------------------
Comment (by swissspidy):
Caching the data in an option could work. Though I don't really see a
reason to have this function when it's so easy to get the information
anyway using `WP_Query`.
If a theme needs this information, they can have their own function doing
this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16264#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list