[wp-trac] [WordPress Trac] #18858: Would like to see a function similar to get_objects_in_term that filters by post_type.

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 7 21:30:21 UTC 2011


#18858: Would like to see a function similar to get_objects_in_term that filters by
post_type.
-------------------------+----------------------
 Reporter:  sqlwiz       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Taxonomy     |     Version:  3.1.4
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |
-------------------------+----------------------
Changes (by scribu):

 * keywords:  has-patch reporter-feedback => has-patch
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 If this can be achieved via WP_Query, just make a wrapper function that
 calls WP_Query, specifically tailored for your use-case.

 I see no reason to add this to Core.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18858#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list