[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
Tue Oct 4 18:26:23 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:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  3.1.4
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 This is a function I have needed on several recent sites when a taxonomy
 is shared between multiple post types. Without this, one has to check the
 post_type of all returned objects. I think it would be a good addition to
 core.

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


More information about the wp-trac mailing list