[wp-trac] [WordPress Trac] #15020: Additional Filters to get_terms

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 28 17:58:08 UTC 2010


#15020: Additional Filters to get_terms
-------------------------+--------------------------------------------------
 Reporter:  sc0ttkclark  |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  3.1            
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------

Comment(by scribu):

 I haven't included the 'pre_get_terms' filter because I'm thinking you
 might want to also modify the taxonomies array.

 A solution would be to put $taxonomies inside $args, pass it to the filter
 and then overwrite the $taxonomy variable.

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


More information about the wp-trac mailing list