[wp-trac] [WordPress Trac] #16264: Add function get_pages_by_template()

WordPress Trac noreply at wordpress.org
Sat Feb 14 03:01:48 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      |     Focuses:

Comment (by helen):

 Replying to [comment:10 MikeSchinkel]:

 I have access to those standards, but others probably don't (private site)
 :) I'm fine with leaving this ticket open and assessing demand, whether
 proactively or not, but my feeling based on code I've written and audited
 is that this is not in high demand, not so bad via a `WP_Query` (noting
 that a tax query typically performs better than a meta query, for what
 that's worth), and thus IMO reasonably left to be implemented as a helper
 function as needed.

Ticket URL: <https://core.trac.wordpress.org/ticket/16264#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list