[wp-trac] [WordPress Trac] #32919: Add post_type argument to get_tags function

WordPress Trac noreply at wordpress.org
Wed Jul 8 09:50:08 UTC 2015


#32919: Add post_type argument to get_tags function
-------------------------+-----------------------------
 Reporter:  atomicjack   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  4.2.2
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Hi,

 Some changes would need to be incorporated to make this possible - but it
 would be a good idea to add a post_type argument to the get_tags function,
 so that we can get a list of tags that is used on a specific post type.

 This would allow us to filter a certain post type's search results for a
 specific tag.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32919>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list